summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2018-06-03 16:36:51 +0200
committerJunio C Hamano <gitster@pobox.com>2018-06-04 12:26:01 +0900
commitaee9be2ebe370029f6289870fbd1714dccce2adf (patch)
treedf21482111842a165495174f6f71018bebbd8d12 /commit.h
parenta42a58d7b62cc1d6301440e81a83feed9d7c118c (diff)
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 'commit.h')
0 files changed, 0 insertions, 0 deletions