From: Junio C Hamano Date: Thu, 13 Sep 2012 20:18:39 GMT Subject: Re: [PATCHv2 0/6] rev-list/log: document logic with several limiting options Message-ID: <7vr4q57k2o.fsf@alter.siamese.dyndns.org> In-Reply-To: Michael J Gruber writes: > 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...