Re: Problem in our test setup
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 15, 2007, 17:30 UTC
- Message-ID
- <7v3av75sct.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <Pine.LNX.4.64.0711151237400.16728@wbgn129.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 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.
Yes, but at that point we know we are looking for "git" subcommand not general command on PATH, so we can only look for "git-runstatus" in the git_exec_path (initialized by $GIT_EXEC_PATH or compiled-in) and correctly fail during the test.