push: use skip_prefix() instead of starts_with()
authorRené Scharfe <l.s.r@web.de>
Tue, 26 Nov 2019 15:18:28 +0000 (16:18 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Nov 2019 02:18:39 +0000 (11:18 +0900)
commit1768aaf01d3f57af8c4182d5887d219456f4a094
tree163a8f5c4202b4b65c8d7f703cd0c0972203271a
parentec6ee0c07a6dc93dd18003b069c78f514ccbe427
push: use skip_prefix() instead of starts_with()

Get rid of a magic number by using skip_prefix().

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>
builtin/push.c