projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f83df6d
)
struct tree: remove unused field "parent"
author
Junio C Hamano
<junkio@cox.net>
Mon, 5 Dec 2005 05:13:57 +0000
(21:13 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 5 Dec 2005 07:19:31 +0000
(23:19 -0800)
The field is not used anymore, after the recent ls-tree rewrite.
Signed-off-by: Junio C Hamano <junkio@cox.net>
tree.c
patch
|
blob
|
history
tree.h
patch
|
blob
|
history
diff --git
a/tree.c
b/tree.c
index
043f032
..
e7a7b71
100644
(file)
--- a/
tree.c
+++ b/
tree.c
@@
-200,7
+200,6
@@
int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size)
}
if (obj)
n_refs++;
- entry->parent = NULL; /* needs to be filled by the user */
*list_p = entry;
list_p = &entry->next;
}
diff --git
a/tree.h
b/tree.h
index
768e5e9
..
57a5bf7
100644
(file)
--- a/
tree.h
+++ b/
tree.h
@@
-18,7
+18,6
@@
struct tree_entry_list {
struct tree *tree;
struct blob *blob;
} item;
- struct tree_entry_list *parent;
};
struct tree {