
18 Jan
2013
18 Jan
'13
7:46 a.m.
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