Git-Lit / git-lit

Scripts to create git repositories for ALTO XML texts, like those from the British Library's scanned documents.
31 stars 8 forks source link

Normalize line endings #19

Open tfmorris opened 8 years ago

tfmorris commented 8 years ago

I had this fixed once, but it looks like it got reversed by this commit: 817f6e84bfe0359fa31a82ba7379b09eafb7936c

The commit comment "Argh!" would seem to indicate that perhaps we should discuss what the correct solution is. As things stand now, each committer will end up changing the line endings of the file in the source repo to match the operating system platform that they are committing from.

My strong recommendation is to keep the line endings normalized in the repo and let git convert to/from the platform line ending on commit/checkout.

@JonathanReeve What problem caused the change to get reverted?