author | Scott R Parish <srp@srparish.net> | |
Mon, 29 Oct 2007 03:30:52 +0000 (20:30 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 30 Oct 2007 03:51:37 +0000 (20:51 -0700) | ||
commit | 1eb056905a2956ca9fabd2edcce05c0a29ce64b1 | |
tree | 9e3036de07b6e76d4d7a76947f7b3462ee7ef521 | tree | snapshot |
parent | 511707d42b3b3e57d9623493092590546ffeae80 | commit | diff |
include $PATH in generating list of commands for "help -a"
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
help.c | diff | blob | history |