[Ledger-smb-devel] Enforce single line-ending style across source files?

2015-09-18 Thread Erik Huelsmann
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
Ledger-smb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel


Re: [Ledger-smb-devel] Enforce single line-ending style across source files?

2015-09-18 Thread John Locke

+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
Ledger-smb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel


--
___
Ledger-smb-devel mailing list
Ledger-smb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel