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

Re: [puzzled and solved] "shortlog" not quite understanding all "log" options

From
Junio C Hamano <gitster@pobox.com>
Date
May 30, 2014, 21:37 UTC
Message-ID
<xmqqwqd36j9d.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20140530201652.GC5513@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 15 quoted lines
> On Fri, May 30, 2014 at 12:28:47PM -0700, Junio C Hamano wrote:
>
>> .... Aaaand, it turns out that the answer is in the big comment at
>> the beginning of handle_revision_pseudo_opt().
>> 
>> -- >8 --
>> Subject: shortlog: allow --exclude=<glob> to be passed
>> 
>> e7b432c5 (revision: introduce --exclude=<glob> to tame wildcards,
>> 2013-08-30) taught a new option to the command-line parser of "log"
>> and friends, but did not wire it fully so that it can also be used
>> by "shortlog".
>
> FWIW, I think the discussion above the scissors adds a lot to the
> context. It might be nice to add it to the commit message.
OK.  Try to remember when I reroll it.
Show 8 quoted lines
> I am slightly puzzled why parse_revision_opt does not just call
> handle_revision_pseudo_opt. According to f6aca0dc4, it is because
> pseudo-options need to be acted on in-order, as they affect things like
> subsequent "--not" options, etc. But if we are using parse_options_step,
> shouldn't we be handling the options in order?
>
> I am sure I am just missing something obvious, so do not trouble
> yourself if you do not know the answer offhand.
Sorry, I don't know ;-)
Previous: Jeff KingNext: Jeff King
Message 3 of 4 in “[puzzled and solved] "shortlog" not quite understanding all "log" options”
  1. Junio C HamanoMay 30, 2014
  2. Jeff KingMay 30, 2014
  3. Junio C HamanoMay 30, 2014
  4. Jeff KingJun 18, 2014

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.