summaryrefslogtreecommitdiff
path: root/tree.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-02 23:13:18 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-02 23:13:18 (GMT)
commit8500349208e6bfd0e8bc67d294bfea93da2328a2 (patch)
treeba11908cd5f5b6f9e2ddb9b34789f5771a968c07 /tree.h
parentf220fb6b84e982417dda30b2fd09a0f1d987d2e4 (diff)
downloadgit-8500349208e6bfd0e8bc67d294bfea93da2328a2.zip
git-8500349208e6bfd0e8bc67d294bfea93da2328a2.tar.gz
git-8500349208e6bfd0e8bc67d294bfea93da2328a2.tar.bz2
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.h')
-rw-r--r--tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tree.h b/tree.h
index 19b1905..96cf429 100644
--- a/tree.h
+++ b/tree.h
@@ -18,7 +18,6 @@ struct tree_entry_list {
struct tree {
struct object object;
- unsigned has_full_path : 1;
struct tree_entry_list *entries;
};