threads / discuss / 15936

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

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

## tl;dr

3 messages between Oct 17, 2008 and Oct 17, 2008.

replies: 2people: 2as markdown or json

bain· Oct 17, 2008, 10:11 UTC · lore
Hi all,

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?

thanks BAIN

bain· Oct 17, 2008, 10:31 UTC · re: bain · lore

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

Show 5 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.

BAIN
Junio C Hamano· Oct 17, 2008, 23:58 UTC · re: bain · lore

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

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.

← back to recent threads