git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Problem in our test setup

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 15, 2007, 11:40 UTC
Message-ID
<Pine.LNX.4.64.0711151237400.16728@wbgn129.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vzlxg6kzt.fsf@gitster.siamese.dyndns.org>
Hi,
On Wed, 14 Nov 2007, Junio C Hamano wrote:
Show 13 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> 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?

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

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 4 in “Problem in our test setup”
  1. Johannes SchindelinNov 15, 2007
  2. Junio C HamanoNov 15, 2007
  3. Johannes SchindelinNov 15, 2007
  4. Junio C HamanoNov 15, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.