From: Andreas Ericsson Date: Wed, 16 Nov 2005 00:24:06 GMT Subject: Re: [PATCH 3/3] git --help COMMAND brings up the git-COMMAND man-page. Message-ID: <437A7C26.5020400@op5.se> In-Reply-To: <7vsltxeakh.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: >>+ >>+ execlp(PATH_TO_MAN, "man", page, NULL); >>+} > > > If you do PATH_TO_MAN absolute, execl would suffice, but just > saying "man" and have execlp look for it would be easier to > manage. > > Never even occurred to me, actually. I just re-submitted the patch. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231