Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/test-lib.sh: add test_external and test_external_without_stderr
[gitweb.git]
/
fast-import.c
diff --git
a/fast-import.c
b/fast-import.c
index 93119bbd9484504d19f069a5c0038fb1e2f40a26..e72b28679410155cb43968d315f02588e89fd5f1 100644
(file)
--- 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;