Trailing Whitespace
Joel Brobecker
brobecker@adacore.com
Fri Jan 10 04:00:00 GMT 2014
> > IMHO, better approach is to install on-commit hook blocking commits
> > with trailing whitespace (and tab characters) and leave old code as is.
>
> Unfortunately, commit hooks have to be set up in every local copy of the
> repository, which I can't see happening.
The best way to do this is to do it on the official repository
(on sourceware) - via the "update" hook.
We can also provide client-side hooks for the "commit", but, as you say,
it would rely on everyone of us activating them.
--
Joel
More information about the Gdb
mailing list