summaryrefslogtreecommitdiff
path: root/sha1-lookup.h
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2018-06-03 14:36:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-06-04 03:26:01 (GMT)
commitaee9be2ebe370029f6289870fbd1714dccce2adf (patch)
treedf21482111842a165495174f6f71018bebbd8d12 /sha1-lookup.h
parenta42a58d7b62cc1d6301440e81a83feed9d7c118c (diff)
downloadgit-aee9be2ebe370029f6289870fbd1714dccce2adf.zip
git-aee9be2ebe370029f6289870fbd1714dccce2adf.tar.gz
git-aee9be2ebe370029f6289870fbd1714dccce2adf.tar.bz2
update-ref --stdin: use skip_prefix()
Use skip_prefix() instead of starts_with() and strcmp() when parsing 'git update-ref's stdin to avoid a couple of magic numbers. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1-lookup.h')
0 files changed, 0 insertions, 0 deletions