Re: Enforcing Code Style
From: John Peacock <john.peacock_at_havurah-software.org>
Date: Fri, 22 Aug 2008 09:24:14 -0400
Tom Browder wrote:
No, all hook scripts run on the server; the Subversion project itself
> Couldn't svn diff be defined on the user side to ignore
You can run an external diff program (like GNU diff) that ignores
1) "blame" relies on which revision changed which line for its display
2) many source-code formatters make non-whitespace changes as well (like
> Couldn't the script inject a comment somehow?
Comment what? You obvious would note in the commit for the mass
>
Because the first time someone reformats a file, all of those changed
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.