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

Help: Found odd git bug

From
Marc Branchaud <marcnarc@xiplink.com>
Date
Jun 4, 2012, 16:37 UTC
Message-ID
<4FCCE433.7090007@xiplink.com>
Hi all,

A commit claims to add a line to a file. Indeed, "git diff" shows the line being added.

However, when I check out the commit, the file contains a *different* line, with slightly modified contents.

What's more, "git show SHA:path/to/file" shows that the blob contains the wrong line.

I found this using git 1.7.9, but 1.7.11.rc1 also shows the problem.
How can I narrow down what's causing this problem?
		M.
Next: Junio C Hamano
Message 1 of 3 in “Help: Found odd git bug”
  1. Marc BranchaudJun 4, 2012
  2. Junio C HamanoJun 4, 2012
  3. Marc BranchaudJun 4, 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.