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

[PATCH 2/2] bash: add '--merges' to common 'git log' options

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Jul 13, 2009, 15:11 UTC
Message-ID
<48eaed566b8db43b6552893da52d76649d6c7f77.1247497864.git.szeder@ira.uka.de>
In-Reply-To
<0f4a962e946f68ec0d7a4c2e568fb3e5ae2a10bc.1247497864.git.szeder@ira.uka.de>
... so it's available for git log, shortlog and gitk.
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 90edc8c..bc2d8b4 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1114,7 +1114,7 @@ _git_ls_tree ()
 __git_log_common_options="
 	--not --all
 	--branches --tags --remotes
-	--first-parent --no-merges
+	--first-parent --merges --no-merges
 	--max-count=
 	--max-age= --since= --after=
 	--min-age= --until= --before=
-- 
1.6.4.rc0.78.g75597
Previous: SZEDER Gábor
Message 2 of 2 in “Document 'git (rev-list|log) --merges'”
  1. 1/2 Document 'git (rev-list|log) --merges'SZEDER Gábor, Jul 13, 2009
  2. 2/2 bash: add '--merges' to common 'git log' optionsSZEDER Gábor, Jul 13, 2009

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.