aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorCornelius Weig <cornelius.weig@tngtech.com>2017-02-02 00:07:53 +0100
committerJunio C Hamano <gitster@pobox.com>2017-02-01 15:16:50 -0800
commit446624ce350b26e443bf5bfbe8512670853902bc (patch)
tree0622e34dbced8ba15d6fe8c0393b31fcfd5daa94 /contrib
parent9c24c8741e275e2fa30aa7e800c1d4610a6fe2fd (diff)
downloadgit-446624ce350b26e443bf5bfbe8512670853902bc.tar.gz
git-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')
-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 78fe5b7f5..c5207cf55 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 ()
{