Thread (59 messages) 59 messages, 8 authors, 2019-02-01
STALE2798d

Revision v7 of 4 in this series.

Revisions (4)
  1. v2 [diff vs current]
  2. v5 [diff vs current]
  3. v6 [diff vs current]
  4. v7 current

[PATCH v9 3/6] pack-redundant: delete redundant code

From: Jiang Xin <hidden>
Date: 2019-02-01 16:22:37
Subsystem: the rest · Maintainer: Linus Torvalds

From: Sun Chao <redacted>

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 <redacted>
Signed-off-by: Jiang Xin <redacted>
---
 builtin/pack-redundant.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/builtin/pack-redundant.c b/builtin/pack-redundant.c
index f7dab0ec60..4a06f057dd 100644
--- 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;
 	}
 }
-- 
2.20.1.103.ged0fc2ca7b
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help