X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=fast-import.c;h=e72b28679410155cb43968d315f02588e89fd5f1;hb=d8ad63aff0c494898f95aefb12fef25514ba7413;hp=93119bbd9484504d19f069a5c0038fb1e2f40a26;hpb=2fe18392f0355c80295b8b74b24fc817183d3752;p=git.git diff --git a/fast-import.c b/fast-import.c index 93119bbd9..e72b28679 100644 --- a/fast-import.c +++ b/fast-import.c @@ -890,7 +890,7 @@ static char *create_index(void) SHA1_Update(&ctx, (*c)->sha1, 20); } sha1write(f, pack_data->sha1, sizeof(pack_data->sha1)); - sha1close(f, NULL, 1); + sha1close(f, NULL, CSUM_FSYNC); free(idx); SHA1_Final(pack_data->sha1, &ctx); return tmpfile;