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

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

From
RGRaman Gupta <rocketraman@fastmail.fm>
Date
Jun 2, 2009, 15:56 UTC
Message-ID
<4A254BA6.3080601@fastmail.fm>
In-Reply-To
<7vd49mfxcv.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 10 quoted lines
> Raman Gupta <rocketraman@fastmail.fm> writes:
> 
>> 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

Previous: Junio C Hamano
Message 3 of 3 in “Cygwin: Initial clone of repo containing .gitattributes has modified files”
  1. Raman GuptaJun 2, 2009
  2. Junio C HamanoJun 2, 2009
  3. Raman GuptaJun 2, 2009

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.