summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorBert Wesarg <bert.wesarg@googlemail.com>2020-01-27 08:04:29 +0100
committerJunio C Hamano <gitster@pobox.com>2020-02-10 10:52:10 -0800
commitceff1a13084bba74b607d738c6c467365aa6a5f7 (patch)
tree690b7de335addfaa9abe888f63b97a6f271d9ea0 /commit.h
parent1a83068c26206d2b45718e0896955eb61bef8353 (diff)
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 'commit.h')
0 files changed, 0 insertions, 0 deletions