Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Git 1.7.4.5
[gitweb.git]
/
fast-import.c
diff --git
a/fast-import.c
b/fast-import.c
index 87f36b36c3de8c90c7bea770208cd17f3fedab25..b3ba778924908946a0e20ebfdae9bc2058e8a55e 100644
(file)
--- a/
fast-import.c
+++ b/
fast-import.c
@@
-857,6
+857,7
@@
static void start_packfile(void)
p = xcalloc(1, sizeof(*p) + strlen(tmpfile) + 2);
strcpy(p->pack_name, tmpfile);
p->pack_fd = pack_fd;
+ p->do_not_close = 1;
pack_file = sha1fd(pack_fd, p->pack_name);
hdr.hdr_signature = htonl(PACK_SIGNATURE);