summaryrefslogtreecommitdiff
path: root/http-backend.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2012-01-17 06:50:34 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-01-17 11:55:04 -0800
commit39ef7fae9a398ad4523a211bc87aff599c3d3869 (patch)
treea7e974effd715ba2669a9c22be80a690b393d12b /http-backend.c
parentadd_packed_ref(): new function in the refs API. (diff)
downloadtgif-39ef7fae9a398ad4523a211bc87aff599c3d3869.tar.xz
write_remote_refs(): create packed (rather than extra) refs
write_remote_refs() creates new packed refs from references obtained from the remote repository, which is "out of thin air" as far as the local repository is concerned. Previously it did this by creating "extra" refs, then calling pack_refs() to bake them into the packed-refs file. Instead, create packed refs (in the packed reference cache) directly, then call pack_refs(). Aside from being more logical, this is another step towards removing extra refs entirely. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-backend.c')
0 files changed, 0 insertions, 0 deletions