summaryrefslogtreecommitdiff
path: root/builtin/index-pack.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-03-15 16:05:36 -0400
committerJunio C Hamano <gitster@pobox.com>2017-03-15 14:00:28 -0700
commitef87cc79dff1fa0d16ad4d67646afeba9ce11a6c (patch)
treefe96309569d22a594af9dcdc898adbdf70c69e7c /builtin/index-pack.c
parente7e07d5a4fcc2a203d9873968ad3e6bd4d7419d7 (diff)
downloadgit-ef87cc79dff1fa0d16ad4d67646afeba9ce11a6c.tar.gz
rev-parse: use skip_prefix when parsing options
Using skip_prefix lets us avoid manually-counted offsets into the argument string. This patch converts the simple and obvious cases. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/index-pack.c')
0 files changed, 0 insertions, 0 deletions