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

git show loop

From
JLJulia Lawall <julia.lawall@lip6.fr>
Date
Mar 24, 2012, 10:05 UTC
Message-ID
<alpine.DEB.2.02.1203241101390.2046@localhost6.localdomain6>

In linux, git show 60d9aa7 -U0 goes into an infinite loop. The commit log starts with:

commit 60d9aa758c00f20ade0cb1951f6a934f628dd2d7
Merge: b2adf0c 2e16cfc
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Dec 16 10:23:43 2009 -0800
Everything is fine without the -U0 option.
The commit only contains the following @@ lines:

@@@ -21,7 -21,7 +21,8 @@@ @@@ -33,7 -33,7 +33,8 @@@

That is, both have @@@, not @@.

thanks, julia

Next: Zbigniew Jędrzejewski-Szmek
Message 1 of 5 in “git show loop”
  1. Julia LawallMar 24, 2012
  2. Zbigniew Jędrzejewski-SzmekMar 24, 2012
  3. Zbigniew Jędrzejewski-SzmekMar 24, 2012
  4. René ScharfeMar 24, 2012
  5. Junio C HamanoMar 26, 2012

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.