git gurus: Any way to set it up to auto-warn contributors about tab indents?
Brad Roberts
braddr at slice-2.puremagic.com
Mon Aug 15 17:54:16 PDT 2011
On Mon, 15 Aug 2011, Walter Bright wrote:
> On 8/14/2011 11:48 AM, Brad Roberts wrote:
> > google --> git pre-commit hook
> >
> > Setup whatever sort of checks you want on your local repository and
> > it'll be correct before pushing to github to even get into a pull
> > request.
>
> Just be sure and not check the .mak files - they'll choke if the tabs are
> converted to spaces.
Check != change.
You _could_ setup auto-changing as well, but that's a different game
altogether.
More information about the Digitalmars-d
mailing list