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?
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