receive-pack: feed report options to post-receive
authorJiang Xin <redacted>
Thu, 27 Aug 2020 15:45:45 +0000 (11:45 -0400)
committerJunio C Hamano <redacted>
Thu, 27 Aug 2020 19:47:47 +0000 (12:47 -0700)
commit195d6eaea3b886fe13f422ce6675009ea1351224
treeffa63b89707297aab755c9d2e7a939dce241abac
parent15d3af5e22eceb9cd6cd341703d612a62194451e
receive-pack: feed report options to post-receive

When commands are fed to the "post-receive" hook, report options will
be parsed and the real old-oid, new-oid, reference name will feed to
the "post-receive" hook.

Signed-off-by: Jiang Xin <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/receive-pack.c
t/t5411/test-0032-report-with-options.sh
t/t5411/test-0033-report-with-options--porcelain.sh
t/t5411/test-0036-report-multi-rewrite-for-one-ref.sh
t/t5411/test-0037-report-multi-rewrite-for-one-ref--porcelain.sh
t/t5411/test-0038-report-mixed-refs.sh
t/t5411/test-0039-report-mixed-refs--porcelain.sh
git clone https://git.99rst.org/PROJECT