git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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."
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 2 of 7 in “Should GIT_AUTHOR_{NAME,EMAIL} set the tagger name/email?”
  1. Ævar Arnfjörð BjarmasonSep 1, 2012
  2. Andreas SchwabSep 1, 2012
  3. Ævar Arnfjörð BjarmasonSep 1, 2012
  4. Andreas SchwabSep 1, 2012
  5. Ævar Arnfjörð BjarmasonSep 11, 2012
  6. Junio C HamanoSep 11, 2012
  7. demerphqSep 11, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.