Git on Windows, CRLF issues

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

 



Hi!

I have began moving old repositories for Windows-based software to Git. Since the tool I am moving from stores everything with CRLF line endings and have RCS-like keyword expansion, I'm treating it all as binary data when exporting to Git, i.e I have CRLF in the checked-in data (and I do want that, since this is Windows-only sources).

Now the latests msysgit comes along and (finally!) sets core.autocrlf to true by default.

How do I handle this without having everyone breaking check-ins? I can't require everyone to do unset core.autocrlf globally. Can I do that with gitattributes?

--
\\// Peter - http://www.softwolves.pp.se/
--
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