Harald Nordgren's series adds two options to "git reflog" and "git log -g". --operations shows one entry per command, folding a rebase into the entry that finished or aborted it. --historical-branch decorates each entry with the branch HEAD was on at the time.

Phillip Wood said he is skeptical of the series in its current form. Not every command that changes the working tree updates the reflog, and some commands, such as "git cherry-pick A B C", create several reflog entries that look the same as several separate invocations. He argued that overcoming these limits needs a separate operations log. Most of what the option does can already be had by looking at the branch reflog, and he wishes "git reflog" defaulted to the current branch rather than HEAD. He is not opposed to some filtering or simplification, particularly for HEAD, but said the output should not pretend to be more than it is.

Junio Hamano said he likes the direction of making the default single-branch output easier to understand without extra filtering. He noted that "git rebase" works on a detached HEAD and that more multi-step commands could be converted to do so. "git am" predates detached HEAD and does not detach, and its users have come to expect that. He said he was not sure how to handle that case.

D. Ben Knoble called the approach inherently heuristic and said he had expected something like a true operations log. He was more positive about a format specifier, saying he likes its composability.

Harald replied that a %gb placeholder would radically change the series and drop --operations altogether, and said he looks forward to it. He had not realized the reflog could be limited to one branch, thinks that should be the default, and noted that the full ref names in that output are heavy and could be cleaned up.

A reworked series has not yet been posted.