archive: declare struct archiver where it's needed
[gitweb.git] / builtin-fsck.c
index b0f9648f862248d1b985f31406b8f3de26b47aff..7a4a4f144f7550c5eee67e728ef5ff0df7a5d2ba 100644 (file)
@@ -377,6 +377,10 @@ static void fsck_dir(int i, char *path)
                        if (de->d_name[0] != '.')
                                break;
                        continue;
+               case 14:
+                       if (prefixcmp(de->d_name, "tmp_obj_"))
+                               break;
+                       continue;
                case 38:
                        sprintf(name, "%02x", i);
                        memcpy(name+2, de->d_name, len+1);
@@ -539,7 +543,7 @@ static int fsck_cache_tree(struct cache_tree *it)
 }
 
 static char const * const fsck_usage[] = {
-       "git-fsck [options] [<object>...]",
+       "git fsck [options] [<object>...]",
        NULL
 };