[dmd-internals] trailing whitespace on git

Walter Bright walter at digitalmars.com
Fri Jan 18 03:00:27 PST 2013


On 1/18/2013 12:00 AM, Jacob Carlborg wrote:
>
> 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.
>

They're coming from other peoples' checkins. I run my sources through detab and 
tolf before checkin.


More information about the dmd-internals mailing list