summaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-08-12 15:40:00 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-09-15 13:23:19 -0700
commite40671a3d9115f2c0cea614d8b5d265150f44c24 (patch)
tree67031ccceaa3b98b91e033b8a06d931171fdb620 /cache-tree.c
parentsend-pack: move REF_STATUS_REJECT_NODELETE logic a bit higher (diff)
downloadtgif-e40671a3d9115f2c0cea614d8b5d265150f44c24.tar.xz
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>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions