]> git.ipfire.org Git - thirdparty/git.git/blobdiff - bulk-checkin.c
Merge branch 'ew/hash-with-openssl-evp'
[thirdparty/git.git] / bulk-checkin.c
index 73bff3a23d27bb2d9b6825bceccc9912aa2c50ce..92b9c8598b46f1fa654adadd07adef601c314a64 100644 (file)
@@ -268,6 +268,7 @@ static int deflate_to_pack(struct bulk_checkin_packfile *state,
                                          type, size);
        the_hash_algo->init_fn(&ctx);
        the_hash_algo->update_fn(&ctx, obuf, header_len);
+       the_hash_algo->init_fn(&checkpoint.ctx);
 
        /* Note: idx is non-NULL when we are writing */
        if ((flags & HASH_WRITE_OBJECT) != 0)