shell: use skip_prefix() instead of starts_with()
commitec6ee0c07a6dc93dd18003b069c78f514ccbe427
authorRené Scharfe <l.s.r@web.de>
Tue, 26 Nov 2019 15:00:43 +0000 (26 16:00 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Nov 2019 02:18:24 +0000 (27 11:18 +0900)
treef860f5a1b7d7ee5540ba858c431e2f567428b429
parent7e412e8a3492bc60604060f4f1b1d4ddeda7071f
shell: use skip_prefix() instead of starts_with()

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

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>
shell.c