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

Re: Enforce single line-ending style across source files?



+1.

There's a .gitattributes setting we can do that will clean these up on commit -- probably something to do when there are no other changes being committed.

Ah, here's a simple recipe for doing this:

https://help.github.com/articles/dealing-with-line-endings/

Cheers,
John

On 09/18/2015 04:52 AM, Erik Huelsmann wrote:
Hi,

Today I found that at least 1 file in our Perl code base has a DOS line-ending style. Should we want to enforce a single ("Unix") line-ending style? This should come in handy when others - like me - develop on Windows, but - unlike me - don't know how to control their editor to write out Unix line endings. Also, diffs will show all lines changed if someone recodes *all* line endings.

Comments?

--
Bye,

Erik.

http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.


------------------------------------------------------------------------------


_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

------------------------------------------------------------------------------
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel