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

reflog doesn't note that commit was --amend-ed, and doesn't record pulls

From
Jakub Narebski <jnareb@gmail.com>
Date
Jul 10, 2006, 21:49 UTC
Message-ID
<e8uhvg$5o1$2@sea.gmane.org>
In-Reply-To
<e8uele$o7t$2@sea.gmane.org>

Additionally, while reflog records git-reset invocations, it doesn't distinguish between an ordinary commit, and commit --amend (which I do a lot, most time because of forgotten update-index; yes, I know about commit -a option ;-). Well, you can extract this information looking at current and previous commit sha1, but it would be nice to have it noted somewhat in message part of reflog.

Reflog doesn't seem also to record pulls (e.g. master branch): pulls has empty reflog message part.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Jakub NarebskiNext: Shawn Pearce
Message 2 of 6 in “git-update-ref (reflog) uses bogus author ident information”
  1. Jakub NarebskiJul 10, 2006
  2. reflog doesn't note that commit was --amend-ed, and doesn't record pullsJakub Narebski, Jul 10, 2006
  3. Shawn PearceJul 11, 2006
  4. Shawn PearceJul 11, 2006
  5. Shawn PearceJul 11, 2006
  6. Shawn PearceJul 11, 2006

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.