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

2 messages from 2008-11-02 to 2008-11-03. Participants: Mikael Magnusson, Junio C Hamano.
Thread: https://gitlist.dev/t/16134

## Mikael Magnusson, 2008-11-02 18:32

Subject: [PATCH] Document that git-log takes --all-match.
Message-ID: <237967ef0811021032j15f7d9cbudfdf9350bc521cd6@mail.gmail.com>
URL: https://gitlist.dev/e/237967ef0811021032j15f7d9cbudfdf9350bc521cd6%40mail.gmail.com
In-Reply-To: <237967ef0811021028w3aa22411t99b2203a9148bbf6@mail.gmail.com>

```
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
--- 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, 2008-11-03 06:17

Subject: Re: [PATCH] Document that git-log takes --all-match.
Message-ID: <7vd4hdwcyi.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vd4hdwcyi.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <237967ef0811021032j15f7d9cbudfdf9350bc521cd6@mail.gmail.com>

```
"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.

```
