summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-01-18 15:48:49 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-18 15:48:49 -0800
commitcbbe50db7691cd9d7d261ebc5c5ffec55f93127d (patch)
tree1c263a5ab19abf2def6fc70217d1a6600bfd92a7 /builtin
parentMerge git://bogomips.org/git-svn (diff)
downloadtgif-cbbe50db7691cd9d7d261ebc5c5ffec55f93127d.tar.xz
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 'builtin')
0 files changed, 0 insertions, 0 deletions