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

Re: Possible bug in Git

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 16, 2010, 16:56 UTC
Message-ID
<7vvdbrcp5g.fsf@alter.siamese.dyndns.org>
In-Reply-To
<alpine.LFD.2.00.1004160845350.15116@i5.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
> I guess the issue is that combine-diff decides that there is nothing in 
> the result that isn't in either of the sources (because there is nothing 
> at all in the result), and as such it's not "interesting" after all.
There was already a "fix" posted for the "empty vs missing" confusion.
From: Thomas Rast <trast@student.ethz.ch>
Subject: [PATCH] combined diff: correctly handle truncated file
Date: Thu, 15 Apr 2010 14:59:37 +0200
Message-ID:
 <884b9b68a4478aceda580299c059a9a67417cb1c.1271336073.git.trast@student.ethz.ch>

I've been busy for the past few days, but I have it in my 'to-maint' queue. We may actually want to do the same for "missing" case as well, though.

Previous: Thomas RastNext: Thomas Rast
Message 11 of 12 in “Possible bug in Git”
  1. David Martínez MartíApr 15, 2010
  2. combined diff: correctly handle truncated fileThomas Rast, Apr 15, 2010
  3. Avery PennarunApr 15, 2010
  4. Junio C HamanoApr 16, 2010
  5. Avery PennarunApr 16, 2010
  6. Avery PennarunApr 16, 2010
  7. Jay SoffianApr 16, 2010
  8. Avery PennarunApr 16, 2010
  9. Linus TorvaldsApr 16, 2010
  10. Thomas RastApr 16, 2010
  11. Junio C HamanoApr 16, 2010
  12. Thomas RastApr 16, 2010

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.