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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 1, 2012 at 5:57 PM, Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:
> Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> 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 be set
according to GIT_AUTHOR_{NAME,EMAIL}, but it isn't either:

    $ sh /tmp/test-tag.sh
    Initialized empty Git repository in /tmp/test-git/.git/
    [master (root-commit) f83fc11] README: testing content
     1 file changed, 1 insertion(+)
     create mode 100644 README
    Author: Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx>
    [master ef65731] README: testing content again
     1 file changed, 1 insertion(+), 1 deletion(-)
    Author: Test User <test@xxxxxxxxxxx>
    Tagger: Test User <test@xxxxxxxxxxx>
    Author: Test User <test@xxxxxxxxxxx>
    Tagger: Test User <test@xxxxxxxxxxx>
    Author: Test User <test@xxxxxxxxxxx>

>>     GIT_AUTHOR_NAME="Tag Test User"
>> GIT_AUTHOR_EMAIL="tagtest@xxxxxxxxxxx" git tag -a -m"another annotated
>> tag" tag-name-2
>
> The tagger is controlled by the committer info.

I don't get what you mean, what committer info?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]