Merge branch 'jk/rev-parse-cleanup' into next
authorJunio C Hamano <gitster@pobox.com>
Thu, 16 Mar 2017 20:26:12 +0000 (13:26 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Mar 2017 20:26:12 +0000 (13:26 -0700)
commit2799b374040b44efbb84f97daaebc8e3dafc51ae
tree544e66096ab7b26b5b369dbf68ddf37ba75628f1
parente9a888e5c4472d200e3245a577e3746bca378938
parentffddfc6328fd3c8b0e8ee69144ec2dda5c766364
Merge branch 'jk/rev-parse-cleanup' into next

Code clean-up.

* jk/rev-parse-cleanup:
  rev-parse: simplify parsing of ref options
  rev-parse: add helper for parsing "--foo/--foo="
  rev-parse: use skip_prefix when parsing options
builtin/rev-parse.c