packed_ref_store: support iteration
commit38b86e81ae9d3fff3ce300e867f6cd2d1732c998
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 23 Jun 2017 07:01:35 +0000 (23 09:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Jun 2017 20:27:32 +0000 (23 13:27 -0700)
tree9a932977e10d437dab05fdcbb0958ebc6c8413ec
parent6dc6ba7092423dfd5b94b9dcb649f2905d456d94
packed_ref_store: support iteration

Add the infrastructure to iterate over a `packed_ref_store`. It's a
lot of boilerplate, but it's all part of a campaign to make
`packed_ref_store` implement `ref_store`. In the future, this iterator
will work much differently.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/files-backend.c