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

Re: [RFC] git reflog show

From
Junio C Hamano <junkio@cox.net>
Date
Dec 26, 2006, 06:14 UTC
Message-ID
<7vd567fakg.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20061226054815.GC28084@spearce.org>
Shawn Pearce <spearce@spearce.org> writes:
> So what you are proposing is to make the reflog visible in 'git log'
> by a new option?  Or to just try to reuse all of its display code
> but keep the reflog under 'git reflog show' ?

I am not specifically proposing anything, but the part you quoted is about the latter.

What Johannes brought up would involve hooking into the usual log walking machinery to show the commits in "merge order" (more precisely, "local appearance order"). I do not think it is about "showing the reflog data", but about using reflog data to give a different presentation order to the usual log output. Your "reflog show" is more about showing what are recorded in the reflog.

It is not like implementing the sorting of the logs in local appearance order would make your "reflog show" redundant or useless; both are independently useful, I think.

Previous: Shawn PearceNext: Johannes Schindelin
Message 10 of 14 in “[RFC] git reflog show”
  1. Shawn PearceDec 23, 2006
  2. Junio C HamanoDec 23, 2006
  3. Johannes SchindelinDec 23, 2006
  4. Shawn PearceDec 24, 2006
  5. Johannes SchindelinDec 24, 2006
  6. Junio C HamanoDec 24, 2006
  7. Johannes SchindelinDec 25, 2006
  8. Junio C HamanoDec 25, 2006
  9. Shawn PearceDec 26, 2006
  10. Junio C HamanoDec 26, 2006
  11. Johannes SchindelinDec 26, 2006
  12. Junio C HamanoDec 26, 2006
  13. Johannes SchindelinDec 26, 2006
  14. Junio C HamanoDec 26, 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.