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

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

From
MMMikael Magnusson <mikachu@gmail.com>
Date
Nov 2, 2008, 18:32 UTC
Message-ID
<237967ef0811021032j15f7d9cbudfdf9350bc521cd6@mail.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
Next: Junio C Hamano
Message 1 of 2 in “Document that git-log takes --all-match.”
  1. Document that git-log takes --all-match.Mikael Magnusson, Nov 2, 2008
  2. Junio C HamanoNov 3, 2008

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.