aboutsummaryrefslogtreecommitdiff
path: root/builtin/index-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-09-17 11:37:33 -0700
committerJunio C Hamano <gitster@pobox.com>2013-09-17 11:37:33 -0700
commitb8f23112f0415cc86eb0ec576ac7e16c7c9d78b8 (patch)
tree245a2c5f2541f4151372b323bdbbb497979a262b /builtin/index-pack.c
parent5e3a3a1527b5ebf4c0c7e3a8394287a04220543f (diff)
parent6e454b9a31840102807f1eee527ee717bf134102 (diff)
downloadgit-b8f23112f0415cc86eb0ec576ac7e16c7c9d78b8.tar.gz
git-b8f23112f0415cc86eb0ec576ac7e16c7c9d78b8.tar.xz
Merge branch 'jk/free-tree-buffer'
* jk/free-tree-buffer: clear parsed flag when we free tree buffers
Diffstat (limited to 'builtin/index-pack.c')
-rw-r--r--builtin/index-pack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index 9c1cfac44..9e9eb4b74 100644
--- a/builtin/index-pack.c
+++ b/builtin/index-pack.c
@@ -770,6 +770,7 @@ static void sha1_object(const void *data, struct object_entry *obj_entry,
if (obj->type == OBJ_TREE) {
struct tree *item = (struct tree *) obj;
item->buffer = NULL;
+ obj->parsed = 0;
}
if (obj->type == OBJ_COMMIT) {
struct commit *commit = (struct commit *) obj;