Fix up "for_each_ref()" to be more usable, and use it in git-fsck-cache
authorLinus Torvalds <torvalds@g5.osdl.org>
Sun, 3 Jul 2005 17:01:38 +0000 (10:01 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 3 Jul 2005 17:01:38 +0000 (10:01 -0700)
commit944d858969e4e14adefdd8f21fac5c8ab45f83f7
tree26f45f4e5544838e40132f579fb86f9ff006688f
parent7ec4e60819764128351d526a77859a403c0d4ff4
Fix up "for_each_ref()" to be more usable, and use it in git-fsck-cache

It needed to take the GIT_DIR information into account, something that
the original receive-pack usage just never cared about.
fsck-cache.c
receive-pack.c
refs.c
refs.h