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

Re: Repo corrupted somehow?

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Nov 5, 2008, 04:21 UTC
Message-ID
<alpine.LNX.1.00.0811042241450.19665@iabervon.org>
In-Reply-To
<216e54900811032309s51c8cb1fr64054ff18c450b1d@mail.gmail.com>
On Mon, 3 Nov 2008, Andrew Arnott wrote:
Show 7 quoted lines
> I was just git commit'ing, and then I was doing a git rebase to squash
> several commits into one when the rebase failed.  I then did a
> git checkout -f master
> git reset --hard
> but no matter what I do, git thinks that several files have changed.
> The diff shows all the lines in these several files removed and then
> added, yet without any changes made to them.

That sounds like some failure of CRLF conversion, like it's converting all of the line endings somehow when writing to the working tree and then not expecting them to be different. Do you have some sort of interesting configuration for those? I wonder if you've got a .gitattributes that matches the names that git uses for the files, but are on a case-insensitive filesystem which lists those files in a way where their names don't match (or vice versa).

	-Daniel
*This .sig left intentionally blank*
Previous: Jeff KingNext: Andrew Arnott
Message 5 of 9 in “Repo corrupted somehow?”
  1. Andrew ArnottNov 4, 2008
  2. Andrew ArnottNov 4, 2008
  3. Andrew ArnottNov 4, 2008
  4. Jeff KingNov 5, 2008
  5. Daniel BarkalowNov 5, 2008
  6. Andrew ArnottNov 5, 2008
  7. Daniel BarkalowNov 5, 2008
  8. Eyvind BernhardsenNov 5, 2008
  9. Andrew ArnottNov 8, 2008

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.