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).
This commit is contained in:
Linus Torvalds
2005-05-02 16:13:18 -07:00
parent f220fb6b84
commit 8500349208
3 changed files with 57 additions and 7 deletions

1
tree.h
View File

@ -18,7 +18,6 @@ struct tree_entry_list {
struct tree {
struct object object;
unsigned has_full_path : 1;
struct tree_entry_list *entries;
};