summaryrefslogtreecommitdiff
path: root/tag.h
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-04-22 21:52:35 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-01 15:33:11 -0700
commit12e77559ec4bf863d3703a25ab79298d5ff89b3b (patch)
tree1652cf0835074da6b0693451c73123a043321c3a /tag.h
parentrefs: use same lock_file object for both ref-packing functions (diff)
downloadtgif-12e77559ec4bf863d3703a25ab79298d5ff89b3b.tar.xz
pack_refs(): change to use do_for_each_entry()
pack_refs() was not using any of the extra features of for_each_ref(), so change it to use do_for_each_entry(). This also gives it access to the ref_entry and in particular its peeled field, which will be taken advantage of in the next commit. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tag.h')
0 files changed, 0 insertions, 0 deletions