summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2013-04-29 12:49:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-29 15:07:23 (GMT)
commita05490edbf7beb49266b3f4e4524e996428fa41d (patch)
tree09c1ec5e55df42441cd0659ab14660d148e992e8 /contrib
parent2651baaea9f9c607c09f715c7640616e39b5c60d (diff)
downloadgit-a05490edbf7beb49266b3f4e4524e996428fa41d.zip
git-a05490edbf7beb49266b3f4e4524e996428fa41d.tar.gz
git-a05490edbf7beb49266b3f4e4524e996428fa41d.tar.bz2
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>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 471a15e..e769800 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}"