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 detectionThe surprising factor is, of course, that there is no .gitignore file.
Ciao, Dscho