[PATCH 2/2] completion: add completion for --recurse-submodules=only
- From
- cornelius.weig@tngtech.com <cornelius.weig@tngtech.com>
- Date
- Feb 1, 2017, 23:07 UTC
- Message-ID
- <20170201230753.19462-2-cornelius.weig@tngtech.com>
- In-Reply-To
- <20170201230753.19462-1-cornelius.weig@tngtech.com>
From: Cornelius Weig <cornelius.weig@tngtech.com>
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> --- contrib/completion/git-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index ff7072a..fe3b0f8 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1675,7 +1675,7 @@ _git_pull () __git_complete_remote_or_refspec } -__git_push_recurse_submodules="check on-demand" +__git_push_recurse_submodules="check on-demand only" __git_complete_force_with_lease () {
-- 2.10.2