sha1_file: add for_each iterators for loose and packed objects
authorJeff King <redacted>
Wed, 15 Oct 2014 22:41:21 +0000 (18:41 -0400)
committerJunio C Hamano <redacted>
Thu, 16 Oct 2014 17:10:41 +0000 (10:10 -0700)
commit660c889e46d185dc98ba78963528826728b0a55d
treef70f42402438859d21623c290330cca9bc54a979
parent4a1e693a30c816fa5293c5f9e83e1e98ee87584e
sha1_file: add for_each iterators for loose and packed objects

We typically iterate over the reachable objects in a
repository by starting at the tips and walking the graph.
There's no easy way to iterate over all of the objects,
including unreachable ones. Let's provide a way of doing so.

Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
cache.h
sha1_file.c
git clone https://git.99rst.org/PROJECT