thermocycle / Thermocycle-library

Thermocycle library
http://thermocycle.squoilin.eu
MIT License
55 stars 24 forks source link

Change the git attributes to something more solid #22

Closed dietmarw closed 10 years ago

dietmarw commented 10 years ago

Other projects have shown to have problem with the original .gitattributes especially when working cross-platform on it. These settings are more sane.

ibell commented 10 years ago

What about the autocrlf? @jowr and I have done battle many times over the line endings with windows and linux.

On Thu, Jul 3, 2014 at 12:53 PM, squoilin notifications@github.com wrote:

Merged #22 https://github.com/thermocycle/Thermocycle-library/pull/22.

— Reply to this email directly or view it on GitHub https://github.com/thermocycle/Thermocycle-library/pull/22#event-137824024 .

dietmarw commented 10 years ago

In contrast to the original setting, the new settings will let the user determine how to handle text files. So if you have the setting autocrlf then that's what you get. The repo stays clean with LF endings. Earlier the .gitattributes forced an autocrlf setting which meant that your local settings were simply ignored since .gitattributes takes precedence over .gitconfig settings.