summaryrefslogtreecommitdiff
path: root/git-reset.sh
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2007-11-11 18:38:11 +0100
committerJunio C Hamano <gitster@pobox.com>2007-11-11 15:50:59 -0800
commite70f3202512a022898657047b59b46355be1631b (patch)
tree6e314f7a74fead342ba18799cf900a58d8f8bd3e /git-reset.sh
parenta91ef6e75b897a255cc17b70014a39e68dd54c7a (diff)
downloadgit-e70f3202512a022898657047b59b46355be1631b.tar.gz
t7005-editor.sh: Don't invoke real vi when it is in GIT_EXEC_PATH
The git wrapper executable always prepends the GIT_EXEC_PATH build variable to the current PATH, so prepending "." to the PATH is not enough to give precedence to the fake vi executable. The --exec-path option allows to prepend a directory to PATH even before GIT_EXEC_PATH (which is added anyway), so we can use that instead. Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-reset.sh')
0 files changed, 0 insertions, 0 deletions