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

Re: Bug: Commit fails when no global email address is set even though --author is used

From
Marcus Tillmanns <marcus.tillmanns@qt.io>
Date
Feb 9, 2024, 08:46 UTC
Message-ID
<26317088-7020-43EF-8B60-41D719A6D145@qt.io>
In-Reply-To
<3c3db003-1506-47c4-a010-a8b783dff959@app.fastmail.com>
Everything you said is true. But it misses the point.

If I try to commit for the first time, don’t want to set the global config, look at man git-commit and search for “author", it says “—author” to specify the author. Since “comitter” is such a hidden feature that even long time users of git don’t necessarily know about it, when I then specify “—author” and get the “same” error message again, I have no clue what’s going on, since I just specified my user name and email, and still I’m told it cannot be determined.

Show 7 quoted lines
> On 9. Feb 2024, at 09:37, Kristoffer Haugsbakk <code@khaugsbakk.name> wrote:
> 
> On Fri, Feb 9, 2024, at 08:43, Marcus Tillmanns wrote:
>> Uff, that’s a mean trap. Especially since there is no “—committer”
>> option as far as I can see.
> 
> Your report would have been more clear if you included the error:
Had I had any idea that the report was different between with / without —author I probably would have added it, or found out what the issue was.

Cheers, Marcus

Previous: Kristoffer HaugsbakkNext: Kristoffer Haugsbakk
Message 6 of 13 in “Bug: Commit fails when no global email address is set even though --author is used”
  1. Marcus TillmannsFeb 8, 2024
  2. Phillip WoodFeb 8, 2024
  3. Marcus TillmannsFeb 9, 2024
  4. Konstantin KhomoutovFeb 9, 2024
  5. Kristoffer HaugsbakkFeb 9, 2024
  6. Marcus TillmannsFeb 9, 2024
  7. Kristoffer HaugsbakkFeb 9, 2024
  8. Junio C HamanoFeb 9, 2024
  9. Kristoffer HaugsbakkFeb 9, 2024
  10. Junio C HamanoFeb 9, 2024
  11. Marcus TillmannsFeb 10, 2024
  12. Junio C HamanoFeb 10, 2024
  13. Kristoffer HaugsbakkFeb 11, 2024

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.