summaryrefslogtreecommitdiff
path: root/sigchain.c
diff options
context:
space:
mode:
authorTanay Abhra <tanayabh@gmail.com>2014-03-04 13:06:30 -0800
committerJunio C Hamano <gitster@pobox.com>2014-03-04 13:26:42 -0800
commit147972b1a67425aefb949630d3b97d547f561654 (patch)
tree330ddd40b71de64b897c2a1c732880a50a15c488 /sigchain.c
parent5f95c9f850b19b368c43ae399cc831b17a26a5ac (diff)
downloadgit-147972b1a67425aefb949630d3b97d547f561654.tar.gz
commit.c: use skip_prefix() instead of starts_with()ta/parse-commit-with-skip-prefix
In record_author_date() & parse_gpg_output(), the callers of starts_with() not just want to know if the string starts with the prefix, but also can benefit from knowing the string that follows the prefix. By using skip_prefix(), we can do both at the same time. Helped-by: Max Horn <max@quendi.de> Helped-by: Junio C Hamano <gitster@pobox.com> Helped-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Tanay Abhra <tanayabh@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sigchain.c')
0 files changed, 0 insertions, 0 deletions