[RFC][PATCH] Show the diff in the commit messages

Martin Pool mbp at sourcefrog.net
Wed Jul 11 04:23:37 BST 2007


On 7/11/07, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:

> > Aliases would be the way to do it at the moment, but they do seem like
> > a bit of a blunt instrument.  I think it'd be good if you could set
> > some extra options in the global or location configuration, for
> > example in baazar.conf
> >
> >  commit_options = --diff
>
> Really?  You'd want to change that sort of thing on a location basis?
> I've always thought it was reasonable that aliases were global, because
> you don't want behavior changing depending on location.

Well, I can't imagine wanting --diff on or off depending on location.
But I can imagine, for example, commit --strict active for branches in
some projects but not others.

> > There is general issue when setting options here that we need a way to
> > turn them off.  We should probably make the option parser allow them
> > to be reversed so you can say
> >
> >  % bzr ci --no-diff
>
> This sounds like what we already do.  Am I missing something?

Ok, that's good.  At one point I think we complained if we got
repeated or conflicting options, which was probably excessively
pedantic.

-- 
Martin



More information about the bazaar mailing list