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

Git Rebase blows away GIT_AUTHOR_NAME

From
JT Olds <jtolds@xnet5.com>
Date
Jan 12, 2011, 16:15 UTC
Message-ID
<AANLkTinMX0yEPvSc-c=96R42SbFZTjW5Mnveuxk3ZHS=@mail.gmail.com>

I asked this in #git on freenode, and I've also spent a while searching the internet for anyone with any similar issues, but I can't seem to find anyone or anything that knows what's going on.

On every fresh install of Ubuntu that I have used (by default, I use ecryptfs for my home directory, which of course has its own set of silly Git errors right now), when I clone from a remote repository, have changes local to me, and changes on the remote repository, do 'git pull --rebase', occasionally my GIT_AUTHOR_NAME gets set to my GIT_AUTHOR_EMAIL on my changes that get applied on top of the remote changes.

This is incredibly frustrating, so much so that my workflow now includes running an alias to git filter-branch that fixes this.

Notable things: so far I have only had a remote server hosted by Gerrit, but I can't imagine how changes on the remote git server could possibly affect my local changes. Like I said, I'm using ecryptfs, and I'm using vanilla Git from the latest stable Ubuntu, though I've had this problem on Ubuntus for a few releases now.

Anyone have any idea why this might happen?
-JT
Next: Jeff King
Message 1 of 30 in “Git Rebase blows away GIT_AUTHOR_NAME”
  1. JT OldsJan 12, 2011
  2. Jeff KingJan 12, 2011
  3. JT OldsJan 13, 2011
  4. JT OldsJan 13, 2011
  5. Erik Faye-LundJan 13, 2011
  6. JT OldsJan 13, 2011
  7. Erik Faye-LundJan 13, 2011
  8. Tor ArntsenJan 14, 2011
  9. Erik Faye-LundJan 14, 2011
  10. Tor ArntsenJan 14, 2011
  11. Erik Faye-LundJan 14, 2011
  12. JT OldsJan 14, 2011
  13. Linus TorvaldsJan 14, 2011
  14. Erik Faye-LundJan 14, 2011
  15. Jeff KingJan 14, 2011
  16. Erik Faye-LundJan 14, 2011
  17. Jeff KingJan 14, 2011
  18. Jay SoffianJan 14, 2011
  19. Junio C HamanoJan 14, 2011
  20. Jeff KingJan 14, 2011
  21. Junio C HamanoJan 14, 2011
  22. Jeff KingJan 17, 2011
  23. Erik Faye-LundJan 17, 2011
  24. JT OldsJan 18, 2011
  25. Jay SoffianJan 19, 2011
  26. Tor ArntsenJan 14, 2011
  27. Erik Faye-LundJan 14, 2011
  28. Linus TorvaldsJan 14, 2011
  29. Erik Faye-LundJan 14, 2011
  30. Jeff KingJan 13, 2011

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.