/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pack-objects: implement bitmap writing
[git/git.git]
/
pack-write.c
diff --git
a/pack-write.c
b/pack-write.c
index
ca9e63b
..
6203d37
100644
(file)
--- a/
pack-write.c
+++ b/
pack-write.c
@@
-371,5
+371,7
@@
void finish_tmp_packfile(char *name_buffer,
if (rename(idx_tmp_name, name_buffer))
die_errno("unable to rename temporary index file");
+ *end_of_name_prefix = '\0';
+
free((void *)idx_tmp_name);
}