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>
This commit is contained in:
John Keeping 2014-07-22 19:24:56 +01:00 committed by Junio C Hamano
parent 5c0b13f85a
commit 3a224ff2bb

View File

@ -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=*)