Skip to content

Commit 6d2b06f

Browse files
johnkeepinggitster
authored andcommitted
completion: add a note that merge options are shared
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4a28f16 commit 6d2b06f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,6 +1472,7 @@ _git_log ()
14721472
__git_complete_revlist
14731473
}
14741474

1475+
# Common merge options shared by git-merge(1) and git-pull(1).
14751476
__git_merge_options="
14761477
--no-commit --no-stat --log --no-log --squash --strategy
14771478
--commit --stat --no-squash --ff --no-ff --ff-only --edit --no-edit

0 commit comments

Comments
 (0)