auto guess committer email.. good idea?

Erik Bågfors zindar at gmail.com
Tue Feb 28 15:12:57 GMT 2006


2006/2/28, Michael Ellerman <michael at ellerman.id.au>:
> On 3/1/06, Wouter van Heyst <larstiq at larstiq.dyndns.org> wrote:
> > On Tue, Feb 28, 2006 at 03:07:43PM +0100, Erik Bågfors wrote:
> > > Hi
> > >
> > > I'm not a big fan of the fact that bzr tries to guess the committer
> > > email. I think lot's of people will commit with "Foo Bar
> > > <foo at hostname>"... and that's most likely not what they want.
> > >
> > > I see two choices.  Give a message saying "you have not set your email
> > > address, set it like this: <explanation>".... or do what darcs does
> > > and ask.
>
> What about using the most frequently occuring To: address in
> /var/spool/mail/<user> ;D

Please don't :)

: [bagfors at zyrgelkwyt]$ ; grep ^To: /var/spool/mail/bagfors | uniq
To: root at localhost.localdomain

/Erik - yes, I know it was a joke :)




More information about the bazaar mailing list