summaryrefslogtreecommitdiff
path: root/builtin/merge-index.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-03-15 16:05:36 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-15 14:00:28 -0700
commitef87cc79dff1fa0d16ad4d67646afeba9ce11a6c (patch)
treefe96309569d22a594af9dcdc898adbdf70c69e7c /builtin/merge-index.c
parentGit 2.12 (diff)
downloadtgif-ef87cc79dff1fa0d16ad4d67646afeba9ce11a6c.tar.xz
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/merge-index.c')
0 files changed, 0 insertions, 0 deletions