Re: [PATCHv2 0/6] rev-list/log: document logic with several limiting options
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 13, 2012, 20:18 UTC
- Message-ID
- <7vr4q57k2o.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <cover.1347544259.git.git@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
Show 5 quoted lines
> So, this turned out to be a bit longer. > I decided not to implement "--debug" for "git log --grep" and such > because the current code does a lot of special casing, so that the > existing debug code happily outputs OR nodes in cases where the code > in grep.c effectively does AND (without changing the expression nodes).
Is that something we (not necessarily you) would want to fix? How many are they?
The reason I am asking is because I do not think of any. The entire document is considered unmatched unless all of the OR nodes in the top-level backbone have triggered for some line in the document when "all-match" is in effect, but that is quite different from turning OR nodes into AND nodes (they both are about "does this line match the pattern?"), so...