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 <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ramkumar Ramachandra committed
Apr 29, 2013 at 18:19 UTC
a05490edbf7beb49266b3f4e4524e996428fa41d
1 file changed
+4
contrib/completion/git-completion.bash
+4
@@ -1820,6 +1820,10 @@ _git_config ()
1820
__gitcomp_nl "$(__git_refs)"
1821
return
1822
;;
1823
+ branch.*.rebase)
1824
+ __gitcomp "false true"
1825
+ return
1826
+ ;;
1827
remote.*.fetch)
1828
local remote="${prev#remote.}"
1829
remote="${remote%.fetch}"