sha1_file.c: resolve confusion EACCES vs EPERM
[gitweb.git] / walker.c
index 31de6c16bd021003bdd4fc1475bfe500f28773f4..0e68ee6d2e2fb1b866ecec00c5f6446af366a62e 100644 (file)
--- a/walker.c
+++ b/walker.c
@@ -59,6 +59,7 @@ static int process_tree(struct walker *walker, struct tree *tree)
        free(tree->buffer);
        tree->buffer = NULL;
        tree->size = 0;
+       tree->object.parsed = 0;
        return 0;
 }