summaryrefslogtreecommitdiff
path: root/builtin/describe.c
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder.dev@gmail.com>2018-06-03 16:36:51 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-06-04 12:26:01 +0900
commitaee9be2ebe370029f6289870fbd1714dccce2adf (patch)
treedf21482111842a165495174f6f71018bebbd8d12 /builtin/describe.c
parentGit 2.16.4 (diff)
downloadtgif-aee9be2ebe370029f6289870fbd1714dccce2adf.tar.xz
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 'builtin/describe.c')
0 files changed, 0 insertions, 0 deletions