Re: CRLF problems with Git on Win32
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:44:03
Hi, On Tue, 8 Jan 2008, Steffen Prohaska wrote:
On Jan 8, 2008, at 8:47 PM, Junio C Hamano wrote:quoted
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