Skip to content

Commit 640c325

Browse files
pcloudsgitster
authored andcommitted
completion: use __gitcomp_builtin in _git_merge
New completable options are: --allow-unrelated-histories --message= --overwrite-ignore --signoff --strategy-option= --summary --verify The variable $__git_merge_options remains because _git_pull() still needs it. It will soon be gone after _git_pull() is updated. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent cdc71c1 commit 640c325

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

contrib/completion/git-completion.bash

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,8 +1768,13 @@ _git_merge ()
17681768

17691769
case "$cur" in
17701770
--*)
1771-
__gitcomp "$__git_merge_options
1772-
--rerere-autoupdate --no-rerere-autoupdate --abort --continue"
1771+
__gitcomp_builtin merge "--rerere-autoupdate
1772+
--no-rerere-autoupdate
1773+
--no-commit --no-edit --no-ff
1774+
--no-log --no-progress
1775+
--no-squash --no-stat
1776+
--no-verify-signatures
1777+
"
17731778
return
17741779
esac
17751780
__git_complete_refs

0 commit comments

Comments
 (0)