Re: Cygwin: Initial clone of repo containing .gitattributes has modified files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 2, 2009, 15:50 UTC
- Message-ID
- <7vd49mfxcv.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4A251F66.2020809@fastmail.fm>
Raman Gupta <rocketraman@fastmail.fm> writes:
Show 5 quoted lines
> When a repository containing a .gitattributes file, which contains > other files with -crlf set is cloned on cygwin, with autocrlf = true, > the initial checkout of the working copy sets the line endings for the > -crlf files incorrectly (it ignores the .gitattributes, presumably > because it hasn't been checked out yet).
I think this is what v1.6.3-rc0~83^2~1 (Read attributes from the index that is being checked out, 2009-03-13) was about.
I see you are using a version based on 1.6.1.2; isn't there a newer Cygwin packaged one available?