diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-06-20 10:37:44 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-20 15:50:17 -0700 |
commit | 267f9a8cc8192e120a6476fc55590e288e08b459 (patch) | |
tree | ad59ff531db2c242f35813364dad3bf2a92ff587 /git-pull.sh | |
parent | repack_without_ref(): split list curation and entry writing (diff) | |
download | tgif-267f9a8cc8192e120a6476fc55590e288e08b459.tar.xz |
pack_refs(): split creation of packed refs and entry writing
Split pack_refs() into multiple passes:
* Iterate over loose refs. For each one that can be turned into a
packed ref, create a corresponding entry in the packed refs cache.
* Write the packed refs to the packed-refs file.
This change isolates the mutation of the packed-refs file to a single
place.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-pull.sh')
0 files changed, 0 insertions, 0 deletions