Skip to content

Commit

Permalink
completion: complete "unstuck" git push --recurse-submodules
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John Keeping authored and Junio C Hamano committed Jul 22, 2014
1 parent 5c0b13f commit 3a224ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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=*)
Expand Down

0 comments on commit 3a224ff

Please sign in to comment.