]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/index-pack.c
clear parsed flag when we free tree buffers
[thirdparty/git.git] / builtin / index-pack.c
index 79dfe47320e244c3110ce65d5b19fa87ebca3cb5..20cf284e869e2e37eded2c9bd990453461c75359 100644 (file)
@@ -765,6 +765,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;