astyle options [Was: Scaheme formatting with astyle]
Derek Atkins
warlord at MIT.EDU
Wed Mar 3 10:06:35 EST 2010
Christian Stimming <stimming at tuhh.de> writes:
>> I wonder if there's some way we could get the subversion server to
>> make white space indentation changes when changesets are committed?
>> Then we'd have a single place where all white space is controlled
>> (namely, on the server).
>
> I don't think this is a good idea. It would mean the commits are sent
> from the client to the server, then modified on the server before
> actually committing them, causing a different commit than what the
> client previously sent. IIRC the SVN documentation recommends strongly
> against this. Instead, they say the server should merely have a allow
> / deny decision up front, but it should not modify the commit
> itself. The modification needs to be done by the user before the
> actual commit.
>
> In this case I'd stick with the SVN proposals and not have any modifications
> of the commit on the server side.
Fair enough. Secondary question: once we have the astyle in place
should we add a pre-commit hook test that verifies that the style is
enforced?
> Regards,
>
> Christian
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list