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@xxxxxxxxx> wrote: > Lawrence Siebert <lawrencesiebert@xxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html