Re: Problem in our test setup

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: Problem in our test setup

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:51

Johannes Schindelin [off-list ref] writes:
Because my prefix is the default prefix, which is $HOME/bin, and which is 
not turned off in the tests.  So git finds "runstatus", because it is 
still installed.
Yes, we have a problem.

We could solve this for commands issued in "git foo" form by not
looking for "git-foo" anywhere other than in git_exec_path.  The
scripts and tests only prepend GIT_EXEC_PATH to their PATH and
run "git foo" or "git-foo", but if we replace all of them to the
non-dash form, wouldn't that solve the issue as well?

Re: Problem in our test setup

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:51

Hi,

On Wed, 14 Nov 2007, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
Because my prefix is the default prefix, which is $HOME/bin, and which 
is not turned off in the tests.  So git finds "runstatus", because it 
is still installed.
Yes, we have a problem.

We could solve this for commands issued in "git foo" form by not looking 
for "git-foo" anywhere other than in git_exec_path.  The scripts and 
tests only prepend GIT_EXEC_PATH to their PATH and run "git foo" or 
"git-foo", but if we replace all of them to the non-dash form, wouldn't 
that solve the issue as well?
Funnily enough, it _is_ the non-dash form that I replaced.  What happens 
is this: the git wrapper looks for a builtin named 'runstatus', does not 
find it, then calls out for something like 'git-runstatus', which is found 
in my $HOME/bin.

Sorry,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help