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

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
Previous: Johannes SchindelinNext: Junio C Hamano
Message 2 of 3 in “Handle symlinks graciously”
  1. Handle symlinks graciouslyJohannes Schindelin, Dec 26, 2005
  2. Johannes SchindelinDec 26, 2005
  3. Junio C HamanoDec 27, 2005

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.