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

Re: git-commit does not signoff using name supplied by --author

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 17, 2008, 23:58 UTC
Message-ID
<7vhc7ag4fk.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<0f761673-f0ec-4689-b1f1-8019d4540b0c@i20g2000prf.googlegroups.com>
bain <bain@devslashzero.com> writes:
Show 10 quoted lines
>> If i use git-commit --author "A U Thor <author.example.net>" -s it
>> still uses my global author.name and author.email to add signoff
>> message.
>>
>> Is this expected behavior?
>
> Never mind...
>
> Looking at the code i found out commiter name/email is used to
> signoff, which is correct and can be different than author.

Actually we _do mind_. The users should not have to look at the code to find this out.

Send in a patch to clarify this in the documentation if it is not already done, please.

Previous: bain
Message 3 of 3 in “git-commit does not signoff using name supplied by --author”
  1. bainOct 17, 2008
  2. bainOct 17, 2008
  3. Junio C HamanoOct 17, 2008

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.