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

Re: --author arg on commit only works if there is an email configured already

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Aug 21, 2020, 18:28 UTC
Message-ID
<87ft8fvoow.fsf@igel.home>
In-Reply-To
<CAOW=8D2J3t3cE32q2xNqSOPTa6gxR5gSuJUCCj5MSj58ccc3Cg@mail.gmail.com>
On Aug 21 2020, Alvaro Aleman wrote:
> It seems the `--author` arg on the `git commit` command only works if
> an author email is configured already somewhere:

The `--author' argument only sets the author, but git still need to fill in the committer.

Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Previous: Alvaro AlemanNext: Junio C Hamano
Message 2 of 10 in “--author arg on commit only works if there is an email configured already”
  1. Alvaro AlemanAug 21, 2020
  2. Andreas SchwabAug 21, 2020
  3. Junio C HamanoAug 21, 2020
  4. Alvaro AlemanAug 21, 2020
  5. ident: say whose identity is missing when giving user.name hintJunio C Hamano, Aug 21, 2020
  6. Eric SunshineAug 21, 2020
  7. Junio C HamanoAug 21, 2020
  8. Alvaro AlemanAug 21, 2020
  9. Eric SunshineAug 21, 2020
  10. Junio C HamanoAug 21, 2020

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.