From: Junio C Hamano Date: Sun, 11 Nov 2007 21:29:01 GMT Subject: Re: t7005 and vi in GIT_EXEC_PATH Message-ID: <7v4pfscvz6.fsf@gitster.siamese.dyndns.org> In-Reply-To: <7v3avcefg9.fsf@gitster.siamese.dyndns.org> Junio C Hamano writes: > Brian Gernhardt writes: > >> 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 path > > Maybe 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.