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

[PATCH 1/2] completion: add a note that merge options are shared

From
John Keeping <john@keeping.me.uk>
Date
May 22, 2014, 13:58 UTC
Message-ID
<e4a536d29a59d7dc89cc2f42fa8339506b4829f1.1400767118.git.john@keeping.me.uk>
In-Reply-To
<CANu1nikzk-rGjzKv6R-OR6Et-fB-JYnt245+P6NY-RQiihzXyA@mail.gmail.com>

This should avoid future confusion after a subsequent patch has added some options to __git_merge_options and some directly in _git_merge().

Signed-off-by: John Keeping <john@keeping.me.uk>
---
 contrib/completion/git-completion.bash | 1 +
 1 file changed, 1 insertion(+)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 2c59a76..ff97c20 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1472,6 +1472,7 @@ _git_log ()
 	__git_complete_revlist
 }
 
+# Common merge options shared by git-merge(1) and git-pull(1).
 __git_merge_options="
 	--no-commit --no-stat --log --no-log --squash --strategy
 	--commit --stat --no-squash --ff --no-ff --ff-only --edit --no-edit
-- 
2.0.0.rc2.4.g1dc51c6
Previous: Haralan DobrevNext: John Keeping
Message 2 of 4 in “Bash completion: merge --abort”
  1. Haralan DobrevMay 19, 2014
  2. 1/2 completion: add a note that merge options are sharedJohn Keeping, May 22, 2014
  3. 2/2 completion: add missing options for git-mergeJohn Keeping, May 22, 2014
  4. Junio C HamanoMay 22, 2014

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.