summaryrefslogtreecommitdiff
path: root/git-add--interactive.perl
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-04-22 21:52:36 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-01 15:33:11 -0700
commit8d3725b96fa6878fabe5ec715ff7b9f263481ea1 (patch)
tree9b7f368375aa766012aef6b1da5b6bacb262444f /git-add--interactive.perl
parentpack_refs(): change to use do_for_each_entry() (diff)
downloadtgif-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 'git-add--interactive.perl')
0 files changed, 0 insertions, 0 deletions