summaryrefslogtreecommitdiff
path: root/builtin/ls-tree.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-03-15 20:05:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-15 21:00:28 (GMT)
commitef87cc79dff1fa0d16ad4d67646afeba9ce11a6c (patch)
treefe96309569d22a594af9dcdc898adbdf70c69e7c /builtin/ls-tree.c
parente7e07d5a4fcc2a203d9873968ad3e6bd4d7419d7 (diff)
downloadgit-ef87cc79dff1fa0d16ad4d67646afeba9ce11a6c.zip
git-ef87cc79dff1fa0d16ad4d67646afeba9ce11a6c.tar.gz
git-ef87cc79dff1fa0d16ad4d67646afeba9ce11a6c.tar.bz2
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/ls-tree.c')
0 files changed, 0 insertions, 0 deletions