diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-04-22 21:52:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-01 15:33:11 -0700 |
commit | 8d3725b96fa6878fabe5ec715ff7b9f263481ea1 (patch) | |
tree | 9b7f368375aa766012aef6b1da5b6bacb262444f /contrib/subtree | |
parent | pack_refs(): change to use do_for_each_entry() (diff) | |
download | tgif-8d3725b96fa6878fabe5ec715ff7b9f263481ea1.tar.xz |
refs: inline function do_not_prune()
Function do_not_prune() was redundantly checking REF_ISSYMREF, which
was already tested at the top of pack_one_ref(), so remove that check.
And the rest was trivial, so inline the function.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/subtree')
0 files changed, 0 insertions, 0 deletions