On Thu, Sep 24, 2015 at 05:08:32PM -0400, Jeff King wrote:
> +static int fsck_subdir(int nr, const char *path, void *progress)
> +{
> + display_progress(progress, nr + 1);
> + return 0;
> +}
> +
> static void fsck_object_dir(const char *path)
> {
> - int i;
> struct progress
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
2 matches
Mail list logo