Commit Diff


commit - ebc794c1eb8127eed3e38d5652f2834a38286589
commit + 959daf2333958a5230857df1f4a8b8f037702f2d
blob - b181dec766f418a030c0b719f55ab0b3e491b0e0
blob + 15295cb87199b3a7e1486f84ff5cd5d3425f78e1
--- lib/pack_create.c
+++ lib/pack_create.c
@@ -261,7 +261,7 @@ pick_deltas(struct got_pack_meta **meta, int nmeta, in
 	struct got_raw_object *raw = NULL, *base_raw = NULL;
 	struct got_delta_instruction *deltas = NULL, *best_deltas = NULL;
 	int i, j, size, best_size, ndeltas, best_ndeltas;
-	const int max_base_candidates = 10;
+	const int max_base_candidates = 3;
 	int outfd = -1;
 
 	qsort(meta, nmeta, sizeof(struct got_pack_meta *), delta_order_cmp);