Skip to content

Commit a05490e

Browse files
artagnongitster
authored andcommitted
git-completion.bash: complete branch.*.rebase as boolean
6fac1b8 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2651baa commit a05490e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,6 +1820,10 @@ _git_config ()
18201820
__gitcomp_nl "$(__git_refs)"
18211821
return
18221822
;;
1823+
branch.*.rebase)
1824+
__gitcomp "false true"
1825+
return
1826+
;;
18231827
remote.*.fetch)
18241828
local remote="${prev#remote.}"
18251829
remote="${remote%.fetch}"

0 commit comments

Comments
 (0)