diff --git a/builtin/fast-import.c b/builtin/fast-import.c index 1e7ab67f6e..48f8d015a0 100644 --- a/builtin/fast-import.c +++ b/builtin/fast-import.c @@ -1102,7 +1102,7 @@ static void stream_blob(uintmax_t len, struct object_id *oidout, uintmax_t mark) || (pack_size + PACK_SIZE_THRESHOLD + len) < pack_size) cycle_packfile(); - the_hash_algo->init_fn(&checkpoint.ctx); + the_hash_algo->unsafe_init_fn(&checkpoint.ctx); hashfile_checkpoint(pack_file, &checkpoint); offset = checkpoint.offset;