diff options
author | Jeff King <peff@peff.net> | 2015-09-24 17:08:33 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-05 11:08:06 -0700 |
commit | f0766bf94ec7a398a5a524053ea5334883c16a2e (patch) | |
tree | 7518dc1ef9819673b2b7655ed5c5b1d963657a4e /t/t6003-rev-list-topo-order.sh | |
parent | Makefile: drop D_INO_IN_DIRENT build knob (diff) | |
download | tgif-f0766bf94ec7a398a5a524053ea5334883c16a2e.tar.xz |
fsck: use for_each_loose_file_in_objdir
Since 27e1e22 (prune: factor out loose-object directory
traversal, 2014-10-15), we now have a generic callback
system for iterating over the loose object directories. This
is used by prune, count-objects, etc.
We did not convert git-fsck at the time because it
implemented an inode-sorting scheme that was not part of the
generic code. Now that the inode-sorting code is gone, we
can reuse the generic code. The result is shorter,
hopefully more readable, and drops some unchecked sprintf
calls.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6003-rev-list-topo-order.sh')
0 files changed, 0 insertions, 0 deletions