summaryrefslogtreecommitdiff
path: root/gitk-git
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-09-24 17:08:33 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-10-05 11:08:06 -0700
commitf0766bf94ec7a398a5a524053ea5334883c16a2e (patch)
tree7518dc1ef9819673b2b7655ed5c5b1d963657a4e /gitk-git
parentMakefile: drop D_INO_IN_DIRENT build knob (diff)
downloadtgif-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 'gitk-git')
0 files changed, 0 insertions, 0 deletions