Merge branch 'nd/diff-apply-ita'
[gitweb.git] / object.c
index f7f4de3aaf6d42a6dde5811b37aa8239ac183754..d33e2a5cc84623451a0cc02c0345233675b0340d 100644 (file)
--- a/object.c
+++ b/object.c
@@ -210,7 +210,7 @@ struct object *parse_object_buffer(const struct object_id *oid, enum object_type
        } else if (type == OBJ_COMMIT) {
                struct commit *commit = lookup_commit(oid);
                if (commit) {
-                       if (parse_commit_buffer(commit, buffer, size))
+                       if (parse_commit_buffer(commit, buffer, size, 1))
                                return NULL;
                        if (!get_cached_commit_buffer(commit, NULL)) {
                                set_commit_buffer(commit, buffer, size);