git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Should GIT_AUTHOR_{NAME,EMAIL} set the tagger name/email?
Date: Sat, 01 Sep 2012 17:57:21 +0200	[thread overview]
Message-ID: <m2ehmlwxb2.fsf@igel.home> (raw)
In-Reply-To: <CACBZZX7Ud8Xx225ss6SYqZFXyW0FG2XJimBWdvW_NuMqn8yOnA@mail.gmail.com> ("Ævar Arnfjörð Bjarmason"'s message of "Sat, 1 Sep 2012 17:34:12 +0200")

Ævar Arnfjörð Bjarmason <avarab@gmail.com> 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="tagtest@example.com" git tag -a -m"another annotated
> tag" tag-name-2

The tagger is controlled by the committer info.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2012-09-01 15:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-01 15:34 Should GIT_AUTHOR_{NAME,EMAIL} set the tagger name/email? Ævar Arnfjörð Bjarmason
2012-09-01 15:57 ` Andreas Schwab [this message]
2012-09-01 16:06   ` Ævar Arnfjörð Bjarmason
2012-09-01 16:12     ` Andreas Schwab
2012-09-11 14:56       ` Ævar Arnfjörð Bjarmason
2012-09-11 16:53         ` Junio C Hamano
2012-09-11 16:58           ` demerphq

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ehmlwxb2.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=avarab@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).