Re: [PATCH 6/7] include $PATH in generating list of commands for "help -a"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 29, 2007, 21:17 UTC
- Message-ID
- <7vir4ptyc9.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1193628652-15647-1-git-send-email-srp@srparish.net>
Scott R Parish <srp@srparish.net> writes:
Show 12 quoted lines
> Git had previously been using the $PATH for scripts--a previous > patch moved exec'ed commands to also use the $PATH. For consistency > "help -a" should also list commands in the $PATH. > > The main commands are still listed from the git_exec_path(), but > the $PATH is walked and other git commands (probably extensions) are > listed. > > Signed-off-by: Scott R Parish <srp@srparish.net> > --- > help.c | 157 +++++++++++++++++++++++++++++++++++++++++++++++++--------------- > 1 files changed, 120 insertions(+), 37 deletions(-)
Thanks.
It's easier to read if you briefly describe the differences between the replacement patch and the previous version of the patch below the three-dash lines. See for example Lars Knoll's patch from today <200710290959.32538.lars@trolltech.com>.