Re: [PATCH] --count feature for git shortlog
My apologies, I misunderstood and thought rev-list didn't take filenames.
Lawrence Siebert
On Mon, Jun 29, 2015 at 10:04 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> 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 -- Makefile
>
> all gives me results that are consistent among them.
>
--
About Me: http://about.me/lawrencesiebert
Constantly Coding: http://constantcoding.blogspot.com