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

just can't live without a user.name

From
jidanni@jidanni.org <jidanni@jidanni.org>
Date
Dec 19, 2008, 23:20 UTC
Message-ID
<87fxkjbvl3.fsf_-_@jidanni.org>
In-Reply-To
<20081219223306.GH21154@genesis.frugalware.org>

Actually it's all git's fault for not working if user.name is null or unset. Ask yourself, would email programs panic if all there was only bob@example.org in a header?

> But we need a user.name for legal reasons.
But there should be a way to override it, in case those laws don't apply.
I want
  Author: jidanni@jidanni.org
like my email address above. But the closest I can get is
  Author: jidanni <jidanni@jidanni.org>
And then there are some programs that need
$ git config --global user.name $USER
just to get that, else the springs come loose:
$ git-format-patch -s
*** Please tell me who you are.
Run
  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: empty ident  <jidanni@jidanni.org
> not allowed
Previous: Miklos VajnaNext: Miklos Vajna
Message 14 of 18 in “git-format-patch patch”
  1. jidanni@jidanni.orgDec 17, 2008
  2. Miklos VajnaDec 17, 2008
  3. Jeff KingDec 18, 2008
  4. Junio C HamanoDec 18, 2008
  5. Clarify git-format-patch --in-reply-tojidanni@jidanni.org, Dec 19, 2008
  6. Nanako ShiraishiDec 19, 2008
  7. Miklos VajnaDec 19, 2008
  8. Junio C HamanoDec 19, 2008
  9. SubmittingPatches: mention the usage of real name in Signed-off-by: linesMiklos Vajna, Dec 20, 2008
  10. Junio C HamanoDec 20, 2008
  11. SubmittingPatches: mention the usage of real name in Signed-off-by: linesMiklos Vajna, Dec 20, 2008
  12. jidanni@jidanni.orgDec 19, 2008
  13. Miklos VajnaDec 19, 2008
  14. just can't live without a user.namejidanni@jidanni.org, Dec 19, 2008
  15. Miklos VajnaDec 20, 2008
  16. Junio C HamanoDec 20, 2008
  17. jidanni@jidanni.orgDec 20, 2008
  18. Bernt HansenDec 19, 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.