summaryrefslogtreecommitdiff
path: root/trailer.h
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2019-11-26 15:23:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-11-27 02:21:18 (GMT)
commit2059e79c0dac1e1e4e55733618dc6ca9d00b8aa4 (patch)
treeb2ddd64b25ac399c7d407ef45b11efcdab7f2592 /trailer.h
parent1768aaf01d3f57af8c4182d5887d219456f4a094 (diff)
downloadgit-2059e79c0dac1e1e4e55733618dc6ca9d00b8aa4.zip
git-2059e79c0dac1e1e4e55733618dc6ca9d00b8aa4.tar.gz
git-2059e79c0dac1e1e4e55733618dc6ca9d00b8aa4.tar.bz2
name-rev: use skip_prefix() instead of starts_with()
Let skip_prefix() advance refname to get rid of two magic numbers. Signed-off-by: René Scharfe <l.s.r@web.de> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trailer.h')
0 files changed, 0 insertions, 0 deletions