From: Andreas Schwab Date: Wed, 05 Dec 2018 15:43:02 GMT Subject: Re: Any way to make git-log to enumerate commits? Message-ID: <87sgzcyo6x.fsf@igel.home> In-Reply-To: On Dez 05 2018, Elijah Newren 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."