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, 05:56 UTC
Message-ID
<alpine.LNX.1.00.0811050043030.19665@iabervon.org>
In-Reply-To
<216e54900811042127id69b61fqbd9d001b8bc17a6a@mail.gmail.com>
On Tue, 4 Nov 2008, Andrew Arnott wrote:
Show 5 quoted lines
> It was the CRLF conversion.  When I played around with
> git config --global core.autocrlf true/false
> I got the problem to eventually go away.
> 
> Thanks for all your responses.

It's still worth debugging further, because git should know that it wrote the files differently and not see that as changes. It's not too helpful to have autocrlf if it causes this problem.

Are you using something (like .gitattributes) to mark files as text or as non-text? Is this under Cygwin? It might be fixed in a newer version, also.

	-Daniel
*This .sig left intentionally blank*
Previous: Andrew ArnottNext: Eyvind Bernhardsen
Message 7 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.