Changes since v2 and v3: * Implement a on-the-wire protocol, and add new test helper to test the on-the-wire protocol. See patch 2/5. * Refactor report() on both server and client side for reporting of proc-receive. See patch 5/5. Jiang Xin (5): transport: not report a non-head push as a branch receive-pack: add new proc-receive hook refs.c: refactor to reuse ref_is_hidden() receive-pack: new config receive.procReceiveRefs receive-pack: refactor report for proc-receive Documentation/config/receive.txt | 14 + Makefile | 1 + builtin/receive-pack.c | 323 ++++++++++- refs.c | 11 +- refs.h | 1 + t/helper/test-proc-receive.c | 164 ++++++ t/helper/test-tool.c | 1 + t/helper/test-tool.h | 1 + t/t5411-proc-receive-hook.sh | 954 +++++++++++++++++++++++++++++++ transport.c | 28 +- 10 files changed, 1478 insertions(+), 20 deletions(-) create mode 100644 t/helper/test-proc-receive.c create mode 100755 t/t5411-proc-receive-hook.sh -- 2.26.0.rc1.33.g4914ba4bcf