Ok, I'm one of the "tab-indent" fans, and obviously there are others out 
there. So in contributing some pull requests to phobos/rdmd I've noticed how 
easy it is to forget to convert tabs->spaces before pushing. And others make 
the same mistake too. Aside from being an inconsistent syle issue, this 
seems to increase the chances of merge conflicts.

Obviously I could set up some script on my end to auto-check before 
committing, but that's a per-user solution and so wouldn't really help the 
overall problem. Plus it probably wouldn't work with the GUI git tools like 
tortoise.

I don't know if this has already been looked into, but to any git/github 
gurus here: Is there some way to set up the "D-Programming-Language" 
projects (either in git or in github) so that users get warned when they 
have tab indents and try to commit, push, or pull-request (any one of those 
three, wouldn't need to be all three of them)?

-------------------------------
Not sent from an iPhone.


Reply via email to