Before writing test cases, I want to make sure whether it is on the right direction. Changes since v2: * Implement a on-the-wire protocol, see commit 1/4. * Refactor report() on both server and client side for reporting of proc-receive. -- Jiang Xin (4): receive-pack: add new proc-receive hook receive-pack: refactor report for proc-receive refs.c: refactor to reuse ref_is_hidden() receive-pack: new config receive.procReceiveRefs Documentation/config/receive.txt | 14 ++ builtin/receive-pack.c | 294 ++++++++++++++++++++++++++++++- refs.c | 11 +- refs.h | 1 + transport.c | 33 +++- 5 files changed, 332 insertions(+), 21 deletions(-) -- 2.26.0.rc1.5.gca1e965b06