Skip to content

Commit 3a224ff

Browse files
johnkeepinggitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5c0b13f commit 3a224ff

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,11 @@ _git_push ()
16171617
--repo)
16181618
__gitcomp_nl "$(__git_remotes)"
16191619
return
1620+
;;
1621+
--recurse-submodules)
1622+
__gitcomp "$__git_push_recurse_submodules"
1623+
return
1624+
;;
16201625
esac
16211626
case "$cur" in
16221627
--repo=*)

0 commit comments

Comments
 (0)