From: John Keeping Date: Tue, 22 Jul 2014 18:24:56 +0000 (+0100) Subject: completion: complete "unstuck" `git push --recurse-submodules` X-Git-Tag: v2.1.0-rc1~5^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3a224ff2bbb8a3782d6db67426aa8bc09063ab08 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 Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 019026efcb..b27f385adc 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=*)