git gurus: Any way to set it up to auto-warn contributors about tab indents?

Vladimir Panteleev vladimir at thecybershadow.net
Sun Aug 14 12:58:37 PDT 2011


On Sun, 14 Aug 2011 22:50:22 +0300, Jonathan M Davis <jmdavisProg at gmx.com>  
wrote:

> Brad's suggestion is the correct way to
> do it, I believe.

The advantage of a .gitattributes file is that you can add it to the  
repository (like .gitignore). I don't think you can set up a pre-commit  
hook so that it's copied when the repository is cloned.

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d mailing list