Re: [PATCH] --count feature for git shortlog
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 29, 2015, 17:04 UTC
- Message-ID
- <xmqqvbe6bg3z.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAKDoJU4MHGa-c=F0m17rgWUCS2xFwiSb1pmDnYztoDnzRaRKCw@mail.gmail.com>
Lawrence Siebert <lawrencesiebert@gmail.com> writes:
> I was using it to sort files > by commit count when provided a list of files, which git rev-list > doesn't really work for.
What makes you say rev-list does not work (perhaps 'really' is the key word there?)
git rev-list --no-merges maint..master -- Makefile
git shortlog --no-merges maint..master -- Makefile
git log --oneline --no-merges maint..master -- Makefileall gives me results that are consistent among them.