Re: Should GIT_AUTHOR_{NAME,EMAIL} set the tagger name/email?

2012-09-11 Thread demerphq
On 11 September 2012 18:53, Junio C Hamano wrote: > Ævar Arnfjörð Bjarmason writes: > >> On Sat, Sep 1, 2012 at 6:12 PM, Andreas Schwab wrote: >>> Ævar Arnfjörð Bjarmason writes: >>> I don't get what you mean, what committer info? >>> >>> GIT_COMMITTER_{NAME,EMAIL}. A tagger isn't really

Re: Should GIT_AUTHOR_{NAME,EMAIL} set the tagger name/email?

2012-09-11 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > On Sat, Sep 1, 2012 at 6:12 PM, Andreas Schwab wrote: >> Ævar Arnfjörð Bjarmason writes: >> >>> I don't get what you mean, what committer info? >> >> GIT_COMMITTER_{NAME,EMAIL}. A tagger isn't really an author. > > Ah, am I the only one that finds that a bit c

Re: Should GIT_AUTHOR_{NAME,EMAIL} set the tagger name/email?

2012-09-11 Thread Ævar Arnfjörð Bjarmason
On Sat, Sep 1, 2012 at 6:12 PM, Andreas Schwab wrote: > Ævar Arnfjörð Bjarmason writes: > >> I don't get what you mean, what committer info? > > GIT_COMMITTER_{NAME,EMAIL}. A tagger isn't really an author. Ah, am I the only one that finds that a bit counterintuitive to the point of wanting to s

Re: Should GIT_AUTHOR_{NAME,EMAIL} set the tagger name/email?

2012-09-01 Thread Andreas Schwab
Ævar Arnfjörð Bjarmason writes: > I don't get what you mean, what committer info? GIT_COMMITTER_{NAME,EMAIL}. A tagger isn't really an author. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something com

Re: Should GIT_AUTHOR_{NAME,EMAIL} set the tagger name/email?

2012-09-01 Thread Ævar Arnfjörð Bjarmason
On Sat, Sep 1, 2012 at 5:57 PM, Andreas Schwab wrote: > Ævar Arnfjörð Bjarmason writes: > >> git --no-pager show tag-name-1 | grep ^Author > > A tag doesn't have an author, it has a tagger. This shows the author of > the *commit*. I got the grep wrong, I meant that I expected the tagger to

Re: Should GIT_AUTHOR_{NAME,EMAIL} set the tagger name/email?

2012-09-01 Thread Andreas Schwab
Ævar Arnfjörð Bjarmason writes: > git --no-pager show tag-name-1 | grep ^Author A tag doesn't have an author, it has a tagger. This shows the author of the *commit*. > GIT_AUTHOR_NAME="Tag Test User" > GIT_AUTHOR_EMAIL="tagt...@example.com" git tag -a -m"another annotated > tag" tag-na

Should GIT_AUTHOR_{NAME,EMAIL} set the tagger name/email?

2012-09-01 Thread Ævar Arnfjörð Bjarmason
Maybe this is documented in some place I didn't spot, but I expected that when I set GIT_AUTHOR_{NAME,EMAIL} it would affect the operation of git-tag, but it doesn't seem to. When I create tags it seems to completely ignore those variables. Should it be doing that? Here's a test script demonstrati