diff options
author | Jeff King <peff@peff.net> | 2017-03-15 16:05:36 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-15 14:00:28 -0700 |
commit | ef87cc79dff1fa0d16ad4d67646afeba9ce11a6c (patch) | |
tree | fe96309569d22a594af9dcdc898adbdf70c69e7c /builtin/merge-index.c | |
parent | Git 2.12 (diff) | |
download | tgif-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