summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar Cornelius Weig <cornelius.weig@tngtech.com>2017-02-02 00:07:53 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-01 15:16:50 -0800
commit446624ce350b26e443bf5bfbe8512670853902bc (patch)
tree0622e34dbced8ba15d6fe8c0393b31fcfd5daa94 /contrib/completion
parentdoc: add doc for git-push --recurse-submodules=only (diff)
downloadtgif-446624ce350b26e443bf5bfbe8512670853902bc.tar.xz
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 <cornelius.weig@tngtech.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
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 ()
{