Then it's even easier.  Update the hook to reject all tabs in source code
files, wait 6 months, and start detabbing the remaining files.  Then the
probability of conflict should be pretty low.

Alexander


On Fri, Jan 18, 2013 at 1:46 PM, Jan Stolarek <[email protected]>wrote:

> 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
>
_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to