Subject: Re: [PATCH] --count feature for git shortlog

From: Junio C Hamano <[email-masked]>
Date: Mon, 29 Jun 2015 10:04:48 -0700

Lawrence Siebert <[email-masked]> 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.