summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder.dev@gmail.com>2019-08-13 14:26:48 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-08-13 12:31:04 -0700
commit42d0efec592ecd6bc8858ffb5d64fb0bbca827d4 (patch)
treee9e49bf27822fec920e6c952e0f5f3f542f08654 /builtin
parentcompletion: simplify inner 'case' pattern in __gitcomp() (diff)
downloadtgif-42d0efec592ecd6bc8858ffb5d64fb0bbca827d4.tar.xz
completion: split _git_config()
_git_config() contains two enormous case statements, one to complete configuration sections and variable names, and the other to complete their values. Split these out into two separate helper functions, so in the next patches we can use them to implement completion for 'git -c <TAB>'. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions