summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 60727b5)
raw | patch | inline | side by side (parent: 60727b5)
author | Jeff King <peff@peff.net> | |
Wed, 4 Jun 2008 18:38:58 +0000 (14:38 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 4 Jun 2008 20:33:25 +0000 (13:33 -0700) |
The builtin-clone now does the http commit walking and the tree unpacking
in the same process, and the commit walker leaves the in-core objects in a
funny state. When forgetting the data read from the tree object, the
object should be marked "not parsed yet" for later users.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
in the same process, and the commit walker leaves the in-core objects in a
funny state. When forgetting the data read from the tree object, the
object should be marked "not parsed yet" for later users.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
walker.c | patch | blob | history |
diff --git a/walker.c b/walker.c
index 31de6c16bd021003bdd4fc1475bfe500f28773f4..0e68ee6d2e2fb1b866ecec00c5f6446af366a62e 100644 (file)
--- a/walker.c
+++ b/walker.c
free(tree->buffer);
tree->buffer = NULL;
tree->size = 0;
+ tree->object.parsed = 0;
return 0;
}