summaryrefslogtreecommitdiff
path: root/t/chainlint
diff options
context:
space:
mode:
authorLibravatar Bert Wesarg <bert.wesarg@googlemail.com>2020-01-27 08:04:29 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-02-10 10:52:10 -0800
commitceff1a13084bba74b607d738c6c467365aa6a5f7 (patch)
tree690b7de335addfaa9abe888f63b97a6f271d9ea0 /t/chainlint
parentremote: clean-up by returning early to avoid one indentation (diff)
downloadtgif-ceff1a13084bba74b607d738c6c467365aa6a5f7.tar.xz
remote: clean-up config callback
Some minor clean-ups in function `config_read_branches`: * remove hardcoded length in `key += 7` * call `xmemdupz` only once * use a switch to handle the configuration type and add a `BUG()` Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint')
0 files changed, 0 insertions, 0 deletions