[dmd-internals] trailing whitespace on git

Jacob Carlborg doob at me.com
Fri Jan 18 00:00:03 PST 2013



On 18 jan 2013, at 03:33, Walter Bright <walter at digitalmars.com> wrote:

> That's an intriguing idea, but it won't work too well for me. My workflow creates tabs, CRLFs, etc., and having the build on my machine constantly break would be annoying. The canonicalization only matters on checkin.

The first thing I do with an editor is to make sure it uses Unix line endings. If it can't, it's not worth using.

Second, make sure it uses spaces as tabs.

What's left is then trailing whitespace. This can usually an editor handle as well, when saving a file.

So I don't see where you would get these tabs and Windows line endings from. 

--
/Jacob Carlborg


More information about the dmd-internals mailing list