Re: [msysGit] Re: CRLF problems with Git on Win32

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

 



Hi,

On Tue, 8 Jan 2008, Steffen Prohaska wrote:

> On Jan 8, 2008, at 8:47 PM, Junio C Hamano wrote:
> 
> > I think the project can mark text files as text with attributes and if 
> > the port to the platform initialized core.autocrlf appropriately for 
> > the platform everything should work as you described.
> > 
> > At least that is how I read the description of `crlf` in 
> > gitattributes(5).
> 
> But we do not want to mark a file as text but tell git to run its 
> auto-detection and use the local default line endings.  But for 
> different projects we do not even want to run the auto-detection, but 
> leave the files as is.

Probably the best thing would be to default to crlf=true, and then have a 
.gitattributes file like this in your project:

-- snip --
*.am -crlf
-- snap --

(Did I guess right about the file extension? But why do you want to check 
in huge 3D stacks? Ah, of course, for test cases.)

Ciao,
Dscho

-
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