summaryrefslogtreecommitdiff
path: root/apply.h
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-02-24 16:07:19 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-24 13:22:09 -0800
commite3394fdce79411fd51e20082c0faf7061007bc1c (patch)
tree9a0da47c010ef9c915f8759aada1ed82c3d1f27e /apply.h
parentrefs: parse_hide_refs_config to use parse_config_key (diff)
downloadtgif-e3394fdce79411fd51e20082c0faf7061007bc1c.tar.xz
parse_config_key: use skip_prefix instead of starts_with
This saves us having to repeatedly add in "section_len" (and also avoids walking over the first part of the string multiple times for a strlen() and strrchr()). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'apply.h')
0 files changed, 0 insertions, 0 deletions