Make fsck-cache do better tree checking.
[gitweb.git] / tree.c
diff --git a/tree.c b/tree.c
index 15a16d560619aee80e41bf816dd8474a3253b1a5..72305a357b6694cdb1b29dad9975902fdef86457 100644 (file)
--- a/tree.c
+++ b/tree.c
@@ -122,11 +122,6 @@ int parse_tree(struct tree *item)
                entry->executable = mode & S_IXUSR;
                entry->next = NULL;
 
-               /* Warn about trees that don't do the recursive thing.. */
-               if (strchr(path, '/')) {
-                       item->has_full_path = 1;
-               }
-
                bufptr += len + 20;
                size -= len + 20;