Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
rev-parse: use skip_prefix when parsing options
author
Jeff King
<peff@peff.net>
Wed, 15 Mar 2017 20:05:36 +0000
(16:05 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 15 Mar 2017 21:00:28 +0000
(14:00 -0700)
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>
raw
|
patch
| inline |
side by side
(from:
ef87cc7
)
No differences found