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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.