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

Re: reflog for HEAD (detached or between branches)

From
Junio C Hamano <junkio@cox.net>
Date
Jan 26, 2007, 23:45 UTC
Message-ID
<7vbqkluzcm.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<11698503133039-git-send-email-nico@cam.org>

I suspect that "git-reflog --expire", "git-fsck-objects" and "git-prune" need to be updated to take the reflog associated with the HEAD into account, as for_each_ref() does not call you with HEAD.

Other than that, I think the series is beautifully done.
Thanks.
Previous: Nicolas PitreNext: Junio C Hamano
Message 2 of 4 in “reflog for HEAD (detached or between branches)”
  1. Nicolas PitreJan 26, 2007
  2. Junio C HamanoJan 26, 2007
  3. 1/3 create_symref: check error return from open().Junio C Hamano, Jan 27, 2007
  4. 3/3 write_in_full: size_t is unsigned.Junio C Hamano, Jan 27, 2007

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.