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

Re: [PATCH] dir.c(common_prefix): Fix two bugs

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Apr 23, 2007, 09:12 UTC
Message-ID
<Pine.LNX.4.64.0704231108230.8822@racer.site>
In-Reply-To
<7vzm4zh3z7.fsf@assigned-by-dhcp.cox.net>
Hi,
On Mon, 23 Apr 2007, Junio C Hamano wrote:
Show 12 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> > 	If you're up for a very surprising error message, run the test 
> > 	without compiling git-add first...
> 
> $ PATH=/usr/bin:/bin sh t3700-add.sh -i -v
> * expecting success: touch foo && git-add foo
> ./test-lib.sh: line 136: git-add: command not found
> * FAIL 1: Test of git-add
>         touch foo && git-add foo
> $ echo $?
> 1
;-)

I did not say you should "make clean" first... For the record: this is what the surprising error looks like on my machine:

	* expecting success:
        	git add 1/2/a 1/3/b 1/2/c
	
	The following paths are ignored by one of your .gitignore files:
	1/3/b
	Use -f if you really want to add them.
	* FAIL 15: check correct prefix detection
The surprising factor is, of course, that there is no .gitignore file.

Ciao, Dscho

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 4 in “dir.c(common_prefix): Fix two bugs”
  1. dir.c(common_prefix): Fix two bugsJohannes Schindelin, Apr 23, 2007
  2. Junio C HamanoApr 23, 2007
  3. Johannes SchindelinApr 23, 2007
  4. Junio C HamanoApr 23, 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.