Re: t7005 and vi in GIT_EXEC_PATH
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:49
Junio C Hamano [off-list ref] writes:
Brian Gernhardt [off-list ref] writes:quoted
I'm sorry, I should have been more clear. I was referring to the GIT_EXEC_PATH build variable, not the environment variable. The git wrapper always adds the path determined during build to the front of PATH. When I was changing my build script, this got set to "/usr/ local/bin" (I usually use /usr/local/stow/git, instead). Since I have a /usr/local/bin/vim, PATH for git-commit.sh during the test was: - my git build directory - /usr/local/bin (containing a symlink vi -> vim) - the t/trash directory, added by the test via `PATH=".:$PATH"` (containing the test vi script) - my normal pathMaybe that is what is broken. t/test-lib.sh makes the environment variable point at the build directory, and that should override the path that is compiled in, shouldn't it?
Ah, nevermind. I did not see the other messages in the thread.