send-pack/receive-pack: allow errors to be reported back to pusher.
[gitweb.git] / tree.c
diff --git a/tree.c b/tree.c
index 043f032151cbca16dc144f9128b6327c755bcedd..e7a7b7190c08dac383560dc9b0bc650eb531207a 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;
        }