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, 00:53 UTC
Message-ID
<7vr6tqbjt8.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0701200135500.22628@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 11 quoted lines
> On Fri, 19 Jan 2007, Junio C Hamano wrote:
>
>> I still am having a hard time trying to explain what these
>> commands would do, and why they might be useful:
>> 
>> 	git-log --walk-reflogs master..next
>
> I had less problems explaining that when walking fell back to walking the 
> parents.
>
> It could even make sense to...
(meaning that is not what the code does...)
> Of course, you could always say: if you ask for strange things, you will 
> get strange things.

But if you have to say that, doesn't it suggest that accepting the option --walk-reflogs when you have anything other than one single positive commit in revs.pending leads to end user confusion?

That's what I was after. The theme is the same about my hesitation against --reverse.

On the other hand,
Show 7 quoted lines
>> 	git-log --walk-reflogs master -- Documentation/
>
> Ah, but that is way easier!
>
> For example: I _know_ that something worked some time ago, and it was 
> probably in git.c. So ask "git-log --walk-reflogs -- git.c", and you will 
> soon find out where to start bisecting.

there is no reason to forbid pathspec when --walk-reflogs is in effect, which I agree.

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 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.