diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-02 16:13:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-02 16:13:18 -0700 |
commit | 8500349208e6bfd0e8bc67d294bfea93da2328a2 (patch) | |
tree | ba11908cd5f5b6f9e2ddb9b34789f5771a968c07 /tree.c | |
parent | f220fb6b84e982417dda30b2fd09a0f1d987d2e4 (diff) | |
download | git-8500349208e6bfd0e8bc67d294bfea93da2328a2.tar.gz |
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).
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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; |