Re: [PATCH] allow git to use the PATH for finding subcommands and help docs
- From
Scott Parish <srp@srparish.net>
- Date
- Oct 20, 2007, 06:42 UTC
- Message-ID
- <20071020064235.GA2237@srparish.net>
- In-Reply-To
- <Pine.LNX.4.64.0710191616490.16728@wbgn129.biozentrum.uni-wuerzburg.de>
On Fri, Oct 19, 2007 at 04:27:39PM +0200, Johannes Schindelin wrote:
> While reading this, I have to wonder why it is not just simpler to try > with builtin_exec_path first, and if that fails, just let exec() find the > program in the PATH?
I think you're right; that is a much better way to do this. I've rewritten this as two patches i'll post shortly. I have mixed feelings about the MANPATH/PERL5LIB hack, so i'm leaving it out for now.
sRp
-- Scott Parish http://srparish.net/