Re: [PATCH 1/7] upload-pack: fix transfer.hiderefs over smart-http

2015-03-12 Thread Junio C Hamano
Jeff King writes: > When upload-pack advertises the refs (either for a normal, > non-stateless request, or for the initial contact in a > stateless one), we call for_each_ref with the send_ref > function as its callback. send_ref, in turn, calls > mark_our_ref, which checks whether the ref is hid

[PATCH 1/7] upload-pack: fix transfer.hiderefs over smart-http

2015-03-12 Thread Jeff King
When upload-pack advertises the refs (either for a normal, non-stateless request, or for the initial contact in a stateless one), we call for_each_ref with the send_ref function as its callback. send_ref, in turn, calls mark_our_ref, which checks whether the ref is hidden, and sets OUR_REF or HIDDE