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

3 messages from 2008-10-17 to 2008-10-17. Participants: bain, Junio C Hamano.
Thread: https://gitlist.dev/t/15936

## bain, 2008-10-17 10:11

Subject: git-commit does not signoff using name supplied by --author
Message-ID: <6a7ddf4e-8fcb-4a39-b4c5-1396cf702c8b@f40g2000pri.googlegroups.com>
URL: https://gitlist.dev/e/6a7ddf4e-8fcb-4a39-b4c5-1396cf702c8b%40f40g2000pri.googlegroups.com

```
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, 2008-10-17 10:31

Subject: Re: git-commit does not signoff using name supplied by --author
Message-ID: <0f761673-f0ec-4689-b1f1-8019d4540b0c@i20g2000prf.googlegroups.com>
URL: https://gitlist.dev/e/0f761673-f0ec-4689-b1f1-8019d4540b0c%40i20g2000prf.googlegroups.com
In-Reply-To: <6a7ddf4e-8fcb-4a39-b4c5-1396cf702c8b@f40g2000pri.googlegroups.com>

```
> 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, 2008-10-17 23:58

Subject: Re: git-commit does not signoff using name supplied by --author
Message-ID: <7vhc7ag4fk.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vhc7ag4fk.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <0f761673-f0ec-4689-b1f1-8019d4540b0c@i20g2000prf.googlegroups.com>

```
bain <bain@devslashzero.com> writes:

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

```
