summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2014-07-22 18:24:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-07-22 20:21:07 (GMT)
commit3a224ff2bbb8a3782d6db67426aa8bc09063ab08 (patch)
tree6059b65280440549d7e279338ad0f81ac782c129 /contrib
parent5c0b13f85ab3a5326508b854768eb70c8829cda4 (diff)
downloadgit-3a224ff2bbb8a3782d6db67426aa8bc09063ab08.zip
git-3a224ff2bbb8a3782d6db67426aa8bc09063ab08.tar.gz
git-3a224ff2bbb8a3782d6db67426aa8bc09063ab08.tar.bz2
completion: complete "unstuck" `git push --recurse-submodules`
Since the argument to `--recurse-submodules` is mandatory, it does not need to be stuck to the option with `=`. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 019026e..b27f385 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1617,6 +1617,11 @@ _git_push ()
--repo)
__gitcomp_nl "$(__git_remotes)"
return
+ ;;
+ --recurse-submodules)
+ __gitcomp "$__git_push_recurse_submodules"
+ return
+ ;;
esac
case "$cur" in
--repo=*)