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

Re: Files need updating following a clone?

From
Avery Pennarun <apenwarr@gmail.com>
Date
May 1, 2008, 01:07 UTC
Message-ID
<32541b130804301807i2e88170dj1fcbf3cec769b69d@mail.gmail.com>
In-Reply-To
<eb5498bc-9169-4f03-a725-f8ff98f9b39a@x19g2000prg.googlegroups.com>
On 4/30/08, edpark <edpark@gmail.com> wrote:
Show 7 quoted lines
> Hi Matt, thanks for pointing that out.
>  Yes, it turns out that we are using different systems.  The original
>  commit (to Github.com) was on a Mac but then there were a few commits
>  made from a Windows based system (through Parallels).
>  It's only on a windows based system that Git will claim that files
>  need to be updated; this doesn't happen on a Mac.
>  Hope this helps someone figure out what's going on ..

You probably have files checked into your tree with windows-style CRLF instead of unix-style LF line endings, and git for Windows nowadays has "git config --global core.autocrlf true" set.

If you configure your windows autocrlf setting to false, this particular symptom will go away, but you probably want to actually fix the files in the repo so they don't have CRLF problems. You might be able to do that just by doing "git commit -a".

Good luck,
Avery
Previous: edpark
Message 4 of 4 in “Files need updating following a clone?”
  1. edparkApr 30, 2008
  2. Matt GrahamMay 1, 2008
  3. edparkMay 1, 2008
  4. Avery PennarunMay 1, 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.