Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: Cygwin: Initial clone of repo containing .gitattributes has modified files

From: Raman Gupta <hidden>
Date: 2016-06-15 22:46:53

Junio C Hamano wrote:
Raman Gupta [off-list ref] writes:
quoted
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.
Thanks! I looked for the fix but didn't find any reference to it. Sorry.
I see you are using 
Actually, I use Linux -- its my coworkers that use cygwin! Bleh! :)
a version based on 1.6.1.2; isn't there a newer Cygwin
packaged one available?
Nope. That is the latest available as of this morning (at least in the
cygwin non-experimental branch).

Cheers,
Raman
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help