Merge branch 'jk/rev-parse-end-of-options'
commit0dd171f0bc59f8f1a5bb6741276c35caf2d4117d
authorJunio C Hamano <gitster@pobox.com>
Sat, 21 Nov 2020 23:14:38 +0000 (21 15:14 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 21 Nov 2020 23:14:38 +0000 (21 15:14 -0800)
tree853538d38c33aa929a2a8208bc15f191b231adcb
parent473c6224c6e46b68c4765d56628a85cea0ee9985
parent3a1f91cfd9633a4f59e0534fa5ba076e031a78ed
Merge branch 'jk/rev-parse-end-of-options'

"git rev-parse" learned the "--end-of-options" to help scripts to
safely take a parameter that is supposed to be a revision, e.g.
"git rev-parse --verify -q --end-of-options $rev".

* jk/rev-parse-end-of-options:
  rev-parse: handle --end-of-options
  rev-parse: put all options under the "-" check
  rev-parse: don't accept options after dashdash