Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
pack-redundant: delete redundant code
author
Sun Chao
<sunchao9@huawei.com>
Sat, 2 Feb 2019 13:30:14 +0000
(21:30 +0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 4 Feb 2019 22:18:24 +0000
(14:18 -0800)
The objects in alt-odb are removed from `all_objects` twice in `load_all_objects`
and `scan_alt_odb_packs`, remove it from the later function.
Signed-off-by: Sun Chao <sunchao9@huawei.com>
Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-redundant.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
3011177
)
diff --git
a/builtin/pack-redundant.c
b/builtin/pack-redundant.c
index f7dab0ec60008decb8d9b48c679d28e994860352..4a06f057ddf3f5d6f948485b959b56da45344358 100644
(file)
--- a/
builtin/pack-redundant.c
+++ b/
builtin/pack-redundant.c
@@
-545,7
+545,6
@@
static void scan_alt_odb_packs(void)
alt->all_objects);
local = local->next;
}
- llist_sorted_difference_inplace(all_objects, alt->all_objects);
alt = alt->next;
}
}