Re: Trailing Whitespace
Joel Brobecker <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
> > 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