]> git.ipfire.org Git - thirdparty/git.git/commit - send-pack.c
send-pack: refactor decision to send update per ref
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Aug 2014 22:40:00 +0000 (15:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Sep 2014 20:23:19 +0000 (13:23 -0700)
commite40671a3d9115f2c0cea614d8b5d265150f44c24
tree67031ccceaa3b98b91e033b8a06d931171fdb620
parent621b0599fda143aff7fbf2bca7479997a06a5d11
send-pack: refactor decision to send update per ref

A new helper function ref_update_to_be_sent() decides for each ref
if the update is to be sent based on the status previously set by
set_ref_status_for_push() and also if this is a mirrored push.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
send-pack.c