summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2019-11-26 12:18:26 +0100
committerJunio C Hamano <gitster@pobox.com>2019-11-27 11:17:22 +0900
commita6293f5d28763580dd1035d3c6b018b42be7e25a (patch)
tree1b12d8468ed6aade4c63949f0adb45f09dbfe5fb /commit.h
parentd9f6f3b6195a0ca35642561e530798ad1469bd41 (diff)
fetch: use skip_prefix() instead of starts_with()
Get rid of magic numbers by letting skip_prefix() set the pointer "what". 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 'commit.h')
0 files changed, 0 insertions, 0 deletions