X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=bulk-checkin.c;fp=bulk-checkin.c;h=92b9c8598b46f1fa654adadd07adef601c314a64;hb=331f20d52df2fd5eb4bea4a9e14a368472f32819;hp=73bff3a23d27bb2d9b6825bceccc9912aa2c50ce;hpb=c52a02a0f0025df0e83ba00dc469df0dc8838b5e;p=thirdparty%2Fgit.git diff --git a/bulk-checkin.c b/bulk-checkin.c index 73bff3a23d..92b9c8598b 100644 --- a/bulk-checkin.c +++ b/bulk-checkin.c @@ -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)