diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-01-18 15:48:49 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-18 15:48:49 -0800 |
commit | cbbe50db7691cd9d7d261ebc5c5ffec55f93127d (patch) | |
tree | 1c263a5ab19abf2def6fc70217d1a6600bfd92a7 /check-builtins.sh | |
parent | 02f55e660ccbd2fa1e3b2c686200f0037568f854 (diff) | |
download | git-cbbe50db7691cd9d7d261ebc5c5ffec55f93127d.tar.gz |
upload-pack: share more code
We mark the objects pointed at our refs with "OUR_REF" flag in two
functions (mark_our_ref() and send_ref()), but we can just use the
former as a helper for the latter.
Update the way mark_our_ref() prepares in-core object to use
lookup_unknown_object() to delay reading the actual object data,
just like we did in 435c833 (upload-pack: use peel_ref for ref
advertisements, 2012-10-04).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'check-builtins.sh')
0 files changed, 0 insertions, 0 deletions