completion: add completion for --recurse-submodules=only

Command completion for 'git-push --recurse-submodules' already knows to complete some modes. However, the recently added mode 'only' is missing. Adding 'only' to the recognized modes completes the list of non-trivial modes. Signed-off-by: Cornelius Weig <cornelius.weig@tngtech.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Cornelius Weig committed Feb 2, 2017 at 00:07 UTC 446624ce350b26e443bf5bfbe8512670853902bc
1 file changed +1 -1
contrib/completion/git-completion.bash
+1 -1
@@ -1674,7 +1674,7 @@ _git_pull ()
1674 __git_complete_remote_or_refspec
1675 }
1676
1677 -__git_push_recurse_submodules="check on-demand"
1677 +__git_push_recurse_submodules="check on-demand only"
1678
1679 __git_complete_force_with_lease ()
1680 {