]> git.ipfire.org Git - thirdparty/git.git/commit - setup.c
check_filename(): use skip_prefix
authorJeff King <peff@peff.net>
Fri, 26 May 2017 19:07:42 +0000 (15:07 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 May 2017 02:36:56 +0000 (11:36 +0900)
commitd51c6ee0d4bbeaf28bcd6c5f1681d208ee75763d
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