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

Re: [PATCH 3/3] show-branch --reflog: show the reflog message at the top.

From
Junio C Hamano <junkio@cox.net>
Date
Jan 20, 2007, 01:32 UTC
Message-ID
<7v4pqmbhzg.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0701200218290.22628@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 5 quoted lines
> How about failing if there are _uninteresting_ commits? So,
>
> 	git log --walk-reflogs next master
>
> still works?

That feels like a good way to deal with it. I think people may also appreciate timestamps on Reflog headers you add to the output.

That change makes
	$ git log --walk-reflogs master..next
        fatal: No reflogs found for 'master..next'
a non issue, for one thing.
Unfortunately,
	$ git log --walk-reflogs ^master next 

is not something I can read and make heads or tails of it. So I'll try something smaller:

	$ git log --walk-reflogs ^master jc/show-reflog

shows only three commits (the same as without --walk-reflogs), although I have tons of rewinds and rebases. There is something broken, or perhaps the semantics of --walk-reflogs does not match what humans would expect when interacting with revision limiting. This would also become an non-issue if we do not allow negative ones.

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 7 of 11 in “show-branch --reflog: show the reflog message at the top.”
  1. 3/3 show-branch --reflog: show the reflog message at the top.Junio C Hamano, Jan 19, 2007
  2. Johannes SchindelinJan 20, 2007
  3. Junio C HamanoJan 20, 2007
  4. Johannes SchindelinJan 20, 2007
  5. Junio C HamanoJan 20, 2007
  6. Johannes SchindelinJan 20, 2007
  7. Junio C HamanoJan 20, 2007
  8. --walk-reflogs: disallow uninteresting commitsJohannes Schindelin, Jan 20, 2007
  9. Junio C HamanoJan 20, 2007
  10. Johannes SchindelinJan 20, 2007
  11. Junio C HamanoJan 20, 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.