Re: Files need updating following a clone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/30/08, edpark <edpark@xxxxxxxxx> wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux