Massive detabbing of the source
Jan Stolarek
jan.stolarek at p.lodz.pl
Fri Jan 18 13:46:53 CET 2013
Dnia piątek, 18 stycznia 2013, Alexander Kjeldaas napisał:
> Well if this is true, then I think you could solve this simply by looking
> for this in a git commit hook or some other hook.
> http://stackoverflow.com/questions/3985463/prevent-pushes-to-git-containing
>-tabs-in-certain-files-e-g-cpp-h-cmakeli
> https://github.com/mrc/git-hook-library
There is already such a hook:
"We'd like to move away from tabs in the long term, and so a git hook on darcs.haskell.org will
reject series of commits that add tabs to a file that is currently tab-free. (Note that there are
no restrictions on adding tabs to a file already containing them.)"
From: http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces
Janek
More information about the ghc-devs
mailing list