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

git am mangles commit author name.

From
DFDaniel F <nanotube@gmail.com>
Date
Jul 13, 2010, 03:53 UTC
Message-ID
<AANLkTinqTL7gH4CHEfy8UrhK13xcO_3UzgIyQka00MAh@mail.gmail.com>
Hi all,
Have a problem with git am. I am trying to apply a patch (created with
git format-patch) that I have in a file.
The file contains the line (along with the rest of the patch, of course):
From: username <emailaddress>

So I do the following: git am --signoff < patchfile.patch It applies just fine, but the commit author shows in in git log as: emailaddress <emailaddress> (i.e., the username is nowhere to be seen)

I'm using the latest git release, 1.7.1.1, on ubuntu intrepid.

Would anyone happen to have some suggestions as to what i'm missing, and how I can get git am to properly treat the commit author name?

Thank you all in advance, Daniel

Next: Jonathan Nieder
Message 1 of 10 in “git am mangles commit author name.”
  1. Daniel FJul 13, 2010
  2. Jonathan NiederJul 13, 2010
  3. Daniel FJul 13, 2010
  4. Jay SoffianJul 13, 2010
  5. Daniel FJul 13, 2010
  6. Ævar Arnfjörð BjarmasonJul 13, 2010
  7. Tor ArntsenJul 14, 2010
  8. Ævar Arnfjörð BjarmasonJul 14, 2010
  9. Daniel FJul 16, 2010
  10. Jonathan NiederJul 16, 2010

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.