From: Brian Gernhardt Date: Sat, 10 Nov 2007 22:45:46 GMT Subject: Re: t7005 and vi in GIT_EXEC_PATH Message-ID: <443CE405-547F-4BBC-B32E-FFEE7E46700D@silverinsanity.com> In-Reply-To: <85abpl69ck.fsf@lola.goethe.zz> On Nov 10, 2007, at 5:09 PM, David Kastrup wrote: > Brian Gernhardt writes: > >> If vi is in GIT_EXEC_PATH, then t7005-editor.sh fails because the >> real >> vi is invoked instead of the test vi script. This is because the git >> wrapper puts GIT_EXEC_PATH ahead of ".". I see no easy solution to >> this problem, and thought I should bring it up with the list. > > Putting "." at the front of GIT_EXEC_PATH instead of PATH would appear > to do the trick then, wouldn't it? The GIT_EXEC_PATH I was referring to is the one set in the Makefile and compiled into git. The GIT_EXEC_PATH environment variable is set to the git repository. PATH ends up looking like this (paraphrased): "git.git:install directory:.:normal PATH". And since the install directory contains vi, the test fails (actually appears to hang because vi is waiting for input while it's output is being sent to / dev/null). ~~ Brian