prune-packed: use for_each_loose_file_in_objdir
commit0d3b729680e9cab0f567122e796dab2bc9bc8cfb
authorJeff King <peff@peff.net>
Wed, 15 Oct 2014 22:40:53 +0000 (15 18:40 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2014 17:10:40 +0000 (16 10:10 -0700)
tree6d2b0867f69a176c08fd86e849f7ba6f7c5c0b0a
parent3725427945657da052f2f833f5fd4616c949be3e
prune-packed: use for_each_loose_file_in_objdir

This saves us from manually traversing the directory
structure ourselves.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/prune-packed.c