From 8500349208e6bfd0e8bc67d294bfea93da2328a2 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 2 May 2005 16:13:18 -0700 Subject: Make fsck-cache do better tree checking. We check the ordering of the entries, and we verify that none of the entries has a slash in it (this allows us to remove the hacky "has_full_path" member from the tree structure, since we now just test it by walking the tree entries instead). --- tree.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tree.c') diff --git a/tree.c b/tree.c index 15a16d5606..72305a357b 100644 --- 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; -- cgit v1.3-5-g9baa