[dmd-internals] LF and CRLF on git

Walter Bright walter at digitalmars.com
Tue Jan 15 21:30:56 PST 2013


On 1/15/2013 7:31 PM, Brad Roberts wrote:
> Correct, and github has no mechanism for it either. So, I'm happy to add this 
> checking to the load balancer, but someone else build the hook and play with 
> it and get it working w/in their own environment first . There's no reason it 
> shouldn't be put in developer repositories and catch the problem BEFORE they 
> get committed locally. The auto tester can be the second layer of defense.

While you're adding the check for CRLF in the autotester, can you please also 
add a check to reject any .d files with tab characters? (Just for .d files. 
Don't want to do that for makefiles!)


More information about the dmd-internals mailing list