From: Cornelius Weig Date: Wed, 1 Feb 2017 23:07:53 +0000 (+0100) Subject: completion: add completion for --recurse-submodules=only X-Git-Tag: v2.12.0-rc1~11^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/446624ce350b26e443bf5bfbe8512670853902bc?ds=inline;hp=--cc completion: add completion for --recurse-submodules=only Command completion for 'git-push --recurse-submodules' already knows to complete some modes. However, the recently added mode 'only' is missing. Adding 'only' to the recognized modes completes the list of non-trivial modes. Signed-off-by: Cornelius Weig Signed-off-by: Junio C Hamano --- 446624ce350b26e443bf5bfbe8512670853902bc diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 78fe5b7f5c..c5207cf55e 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1674,7 +1674,7 @@ _git_pull () __git_complete_remote_or_refspec } -__git_push_recurse_submodules="check on-demand" +__git_push_recurse_submodules="check on-demand only" __git_complete_force_with_lease () {