Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/submodule-anchor-git-dir' into maint
[gitweb.git]
/
pack-write.c
diff --git
a/pack-write.c
b/pack-write.c
index 33293ce2a6b8ea51516e42d01001b15a3016ca27..ea0b78813081236401efbf5f102e7f89a7d5ed7b 100644
(file)
--- a/
pack-write.c
+++ b/
pack-write.c
@@
-354,7
+354,6
@@
void finish_tmp_packfile(struct strbuf *name_buffer,
die_errno("unable to make temporary index file readable");
strbuf_addf(name_buffer, "%s.pack", sha1_to_hex(sha1));
- free_pack_by_name(name_buffer->buf);
if (rename(pack_tmp_name, name_buffer->buf))
die_errno("unable to rename temporary pack file");