Massive detabbing of the source
Alexander Kjeldaas
alexander.kjeldaas at gmail.com
Fri Jan 18 14:03:56 CET 2013
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 <jan.stolarek at p.lodz.pl>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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130118/75d7c7cc/attachment.htm>
More information about the ghc-devs
mailing list