threads / patch / 16134

patchDocument that git-log takes --all-match.

Subject: [PATCH] Document that git-log takes --all-match.

## tl;dr

2 messages between Nov 2, 2008 and Nov 3, 2008. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Mikael Magnusson· Nov 2, 2008, 18:32 UTC · lore
Signed-off-by: Mikael Magnusson <mikachu@gmail.com>
---

It's already listed in the bash completion. Feel free to reword. Looking at this I can't help but feel that the text for --grep/--author/--committer is misleading, since they say they will limit to commits blabla, but they don't if another is given. Ie they only do what they say if you give the --all-match option.

 Documentation/rev-list-options.txt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
index 0ce916a..966276b 100644
Show changes to Documentation/rev-list-options.txt +4 −2
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -174,6 +174,10 @@ endif::git-rev-list[]
       Limit the commits output to ones with log message that
       matches the specified pattern (regular expression).

+--all-match::
+       Limit the commits output to ones that match all given --grep,
+       --author and --committer instead of ones that match at least one.
+
 -i::
 --regexp-ignore-case::

--
1.6.0.2.GIT

--
Mikael Magnusson
Junio C Hamano· Nov 3, 2008, 06:17 UTC · re: Mikael Magnusson · lore

Re: [PATCH] Document that git-log takes --all-match.

"Mikael Magnusson" <mikachu@gmail.com> writes:
> It's already listed in the bash completion. Feel free to reword.

This is a bad strategy to get your patch accepted except on a rare occasion when I'm not too lazy nor busy to "feel free". Besides, the patch is whitespace damaged.

I fixed it up and queued it nevertheless.  Thanks.

← back to recent threads