Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fast-import: Fix uninitialized variable
[gitweb.git]
/
fast-import.c
diff --git
a/fast-import.c
b/fast-import.c
index 3a2d5ed8e667af06f97d2559b3cffb8a01f94565..03f5ca7998a16203e72a15ee1f167fcfe8102861 100644
(file)
--- a/
fast-import.c
+++ b/
fast-import.c
@@
-1122,6
+1122,7
@@
static void store_tree(struct tree_entry *root)
|| le->pack_id != pack_id) {
lo.data = NULL;
lo.depth = 0;
+ lo.no_free = 0;
} else {
mktree(t, 0, &lo.len, &old_tree);
lo.data = old_tree.buffer;