[PATCH 3/5] git-completion.bash: complete branch.*.rebase as boolean
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 29, 2013, 12:49 UTC
- Message-ID
- <1367239781-5232-4-git-send-email-artagnon@gmail.com>
- In-Reply-To
- <1367239781-5232-1-git-send-email-artagnon@gmail.com>
6fac1b83 (completion: add missing config variables, 2009-06-29) added "rebase" to the list of completions for "branch.*.*", but forgot to specify completions for the values that this configuration variable can take (namely "false" and "true"). Fix this.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> --- contrib/completion/git-completion.bash | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index ba46cd9..7bb11a1 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1818,6 +1818,10 @@ _git_config () __gitcomp_nl "$(__git_refs)" return ;; + branch.*.rebase) + __gitcomp "false true" + return + ;; remote.*.fetch) local remote="${prev#remote.}" remote="${remote%.fetch}"
-- 1.8.2.1.616.ga1e5536.dirty