check_filename(): use skip_prefix
commitd51c6ee0d4bbeaf28bcd6c5f1681d208ee75763d
authorJeff King <peff@peff.net>
Fri, 26 May 2017 19:07:42 +0000 (26 15:07 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 May 2017 02:36:56 +0000 (29 11:36 +0900)
tree5b282e7fa4bb1c2c700e079af3d70228472a62a1
parenta08cbcda1782993d83cf8763a394dab24e2c52b3
check_filename(): use skip_prefix

This avoids some magic numbers (and we'll be adding more
similar calls in a minute).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup.c