git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Lawrence Siebert <lawrencesiebert@gmail.com>
Date
Jun 29, 2015, 21:33 UTC
Message-ID
<CAKDoJU4Wjx1XJ383qgikpPXr7bP3eHObR3Cu5nCjVuO-1omCag@mail.gmail.com>
In-Reply-To
<xmqqvbe6bg3z.fsf@gitster.dls.corp.google.com>
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
Previous: Junio C HamanoNext: Johannes Schindelin
Message 7 of 15 in “--count feature for git shortlog”
  1. --count feature for git shortlogLawrence Siebert, Jun 29, 2015
  2. --count feature for git shortlogLawrence Siebert, Jun 29, 2015
  3. --count feature for git shortlogLawrence Siebert, Jun 29, 2015
  4. Junio C HamanoJun 29, 2015
  5. Lawrence SiebertJun 29, 2015
  6. Junio C HamanoJun 29, 2015
  7. Lawrence SiebertJun 29, 2015
  8. Johannes SchindelinJun 30, 2015
  9. John KeepingJun 30, 2015
  10. Junio C HamanoJul 3, 2015
  11. Lawrence SiebertJul 3, 2015
  12. Jakub NarębskiJul 21, 2015
  13. Lawrence SiebertJul 1, 2015
  14. Jeff KingJul 1, 2015
  15. Junio C HamanoJul 1, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.