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

reflog hash show wrong when delete a entry

From
Frank Li <lznuaa@gmail.com>
Date
Mar 18, 2009, 04:36 UTC
Message-ID
<1976ea660903172136r2b16144ep6cdf9aef049d34f1@mail.gmail.com>
git reflog show master

ac3f132 master@{0}: commit: Stash list using reflog dialog. a24e038 master@{1}: commit: Reflog dialog basic work cf4e18d master@{2}: commit: Parser Reflog output d58c869 master@{3}: commit: RefLogDlg: Show ref list at dropdownlist d3dcc9b master@{4}: commit: Add Submodule Add and reflog Dialog 7a60d02 master@{5}: commit: Add Submodule Command a6a192b master@{6}: a6a192baa48ce58105ca254aff66bda135b376f6: updating HEAD

git reflog delete master@{2}

ac3f132 master@{0}: commit: Stash list using reflog dialog. a24e038 master@{1}: commit: Reflog dialog basic work *cf4e18d* master@{2}: commit: RefLogDlg: Show ref list at dropdownlist d3dcc9b master@{3}: commit: Add Submodule Add and reflog Dialog 7a60d02 master@{4}: commit: Add Submodule Command a6a192b master@{5}: a6a192baa48ce58105ca254aff66bda135b376f6: updating HEAD d699182 master@{6}: am: Boost as submodule 1ca1d68 master@{7}: am: Removed boost to add it as submodule

I think now master@{2} should be d58c869, master@{3} before delete.
Message 1 of 1 in “reflog hash show wrong when delete a entry”
  1. Frank LiMar 18, 2009

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.