Re: [PATCH] Handle symlinks graciously
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 26, 2005, 23:00 UTC
- Message-ID
- <Pine.LNX.4.63.0512270000070.347@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <Pine.LNX.4.63.0512262231350.21076@wbgn013.biozentrum.uni-wuerzburg.de>
Hi,
to make the test t4011 pass all the time, this little patch is needed on top:
diff --git a/t/t4011-diff-symlink.sh b/t/t4011-diff-symlink.sh index 9e70063..e3ebf38 100755 --- a/t/t4011-diff-symlink.sh +++ b/t/t4011-diff-symlink.sh @@ -32,6 +32,7 @@ test_expect_success \ test_expect_success \ 'diff unchanged symlink' \ 'tree=$(git-write-tree) && + git-update-index frotz && test -z "$(git-diff-index --name-only $tree)"' cat > expected << EOF Ciao, Dscho