projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bug introduced by the latest changes to git-pack-redundant
[git.git]
/
pack-redundant.c
diff --git
a/pack-redundant.c
b/pack-redundant.c
index
51d7341
..
3655609
100644
(file)
--- a/
pack-redundant.c
+++ b/
pack-redundant.c
@@
-439,7
+439,7
@@
void minimize(struct pack_list **min)
break; /* ignore all larger permutations */
if (is_superset(perm->pl, missing)) {
new_perm = xmalloc(sizeof(struct pll));
-
new_perm->pl = perm->pl
;
+
memcpy(new_perm, perm, sizeof(struct pll))
;
new_perm->next = perm_ok;
perm_ok = new_perm;
}