diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2019-08-13 14:26:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-13 12:31:04 -0700 |
commit | 42d0efec592ecd6bc8858ffb5d64fb0bbca827d4 (patch) | |
tree | e9e49bf27822fec920e6c952e0f5f3f542f08654 /builtin/config.c | |
parent | completion: simplify inner 'case' pattern in __gitcomp() (diff) | |
download | tgif-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/config.c')
0 files changed, 0 insertions, 0 deletions