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>
John Keeping committed
Jul 22, 2014 at 19:24 UTC
3a224ff2bbb8a3782d6db67426aa8bc09063ab08
1 file changed
+5
contrib/completion/git-completion.bash
+5
@@ -1617,6 +1617,11 @@ _git_push ()
1617
--repo)
1618
__gitcomp_nl "$(__git_remotes)"
1619
return
1620
+ ;;
1621
+ --recurse-submodules)
1622
+ __gitcomp "$__git_push_recurse_submodules"
1623
+ return
1624
+ ;;
1625
esac
1626
case "$cur" in
1627
--repo=*)