Re: Should GIT_AUTHOR_{NAME,EMAIL} set the tagger name/email?
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Sep 1, 2012, 15:57 UTC
- Message-ID
- <m2ehmlwxb2.fsf@igel.home>
- In-Reply-To
- <CACBZZX7Ud8Xx225ss6SYqZFXyW0FG2XJimBWdvW_NuMqn8yOnA@mail.gmail.com>
Æ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."