diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-04-22 21:52:35 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-01 15:33:11 -0700 |
commit | 12e77559ec4bf863d3703a25ab79298d5ff89b3b (patch) | |
tree | 1652cf0835074da6b0693451c73123a043321c3a /attr.c | |
parent | refs: use same lock_file object for both ref-packing functions (diff) | |
download | tgif-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 'attr.c')
0 files changed, 0 insertions, 0 deletions