Re: Any way to make git-log to enumerate commits?
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Dec 5, 2018, 15:43 UTC
- Message-ID
- <87sgzcyo6x.fsf@igel.home>
- In-Reply-To
- <CABPp-BHhYgBndaOjTC9-YQ5gNJXqaw21Hf=FZzyA7AKDQvN+0A@mail.gmail.com>
On Dez 05 2018, Elijah Newren <newren@gmail.com> 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."