hook: add sign-off using "interpret-trailers"
[gitweb.git] / builtin / fsck.c
index 3a2c27f2413e5e377926e0e7df339549c37a76b3..99dea7adf60a61906500b4aebc6cb7d566339b38 100644 (file)
@@ -1,5 +1,6 @@
 #include "builtin.h"
 #include "cache.h"
+#include "config.h"
 #include "commit.h"
 #include "tree.h"
 #include "blob.h"
@@ -536,7 +537,7 @@ static int fsck_cruft(const char *basename, const char *path, void *data)
        return 0;
 }
 
-static int fsck_subdir(int nr, const char *path, void *progress)
+static int fsck_subdir(unsigned int nr, const char *path, void *progress)
 {
        display_progress(progress, nr + 1);
        return 0;