From: Ramkumar Ramachandra Date: Mon, 29 Apr 2013 12:49:39 +0000 (+0530) Subject: git-completion.bash: complete branch.*.rebase as boolean X-Git-Tag: v1.8.3-rc1~2^2~5 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a05490edbf7beb49266b3f4e4524e996428fa41d;p=git-core%2Fgit.git git-completion.bash: complete branch.*.rebase as boolean 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 Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 471a15e2f..e76980039 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1820,6 +1820,10 @@ _git_config () __gitcomp_nl "$(__git_refs)" return ;; + branch.*.rebase) + __gitcomp "false true" + return + ;; remote.*.fetch) local remote="${prev#remote.}" remote="${remote%.fetch}"