diff options
author | Jeff King <peff@peff.net> | 2017-03-15 20:05:36 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-15 21:00:28 (GMT) |
commit | ef87cc79dff1fa0d16ad4d67646afeba9ce11a6c (patch) | |
tree | fe96309569d22a594af9dcdc898adbdf70c69e7c /Documentation/git-check-ref-format.txt | |
parent | e7e07d5a4fcc2a203d9873968ad3e6bd4d7419d7 (diff) | |
download | git-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 'Documentation/git-check-ref-format.txt')
0 files changed, 0 insertions, 0 deletions