Thread (1 message) 1 message, 1 author, 2018-12-05

Re: Any way to make git-log to enumerate commits?

From: Andreas Schwab <hidden>
Date: 2018-12-05 15:43:06

On Dez 05 2018, Elijah Newren [off-list ref] wrote:
Or, just use name-rev so it works with non-linear histories too:

git log | git name-rev --refs=$(git symbolic-ref HEAD) --stdin | less
That wouldn't work for a detached HEAD, though, and you need to use
--no-abbrev.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help