commit 33dc8d040ba1b3229b5496aaf43d4f6f460b79f0 from: Stefan Sperling via: Thomas Adam date: Wed Feb 05 12:44:19 2025 UTC remote unused parameter 'nids' from got_pack_find_pack_for_commit_painting() commit - defb6deb66187bde874fc8c8985fabe46ceec2d2 commit + 33dc8d040ba1b3229b5496aaf43d4f6f460b79f0 blob - ca45026cc97b8e4d57488732f016db3ca87aaf80 blob + 00d1c1ef86ac25d4a6e1108d7eb9ce0c0bdafb04 --- lib/got_lib_pack_create.h +++ lib/got_lib_pack_create.h @@ -34,7 +34,7 @@ got_pack_cache_pack_for_packidx(struct got_pack **pack const struct got_error * got_pack_find_pack_for_commit_painting(struct got_packidx **best_packidx, - struct got_object_id_queue *ids, int nids, struct got_repository *repo); + struct got_object_id_queue *ids, struct got_repository *repo); const struct got_error *got_pack_find_pack_for_reuse( struct got_packidx **best_packidx, struct got_repository *repo); blob - fbe87cbd49638e1213544fd4d21e34e72114ec3b blob + 16bbbf96f3e4c7a6e191458f429e5e923e841e94 --- lib/pack_create.c +++ lib/pack_create.c @@ -1197,7 +1197,7 @@ done: const struct got_error * got_pack_find_pack_for_commit_painting(struct got_packidx **best_packidx, - struct got_object_id_queue *ids, int nids, struct got_repository *repo) + struct got_object_id_queue *ids, struct got_repository *repo) { const struct got_error *err = NULL; struct got_pathlist_entry *pe; blob - 676913461ef3b1753061d53ad542d422b6269657 blob + 1c31e5e2bfd158b739cf6350764247b87b5ba267 --- lib/pack_create_io.c +++ lib/pack_create_io.c @@ -358,7 +358,7 @@ got_pack_paint_commits(int *ncolored, struct got_objec */ if (packidx == NULL) { err = got_pack_find_pack_for_commit_painting( - &packidx, ids, nqueued, repo); + &packidx, ids, repo); if (err) goto done; } blob - 123de0a408db2289586165e6e3b8640549ae5a4e blob + 47dc6a00c004f266e6f25f66130ce22abb1e6cc6 --- lib/pack_create_privsep.c +++ lib/pack_create_privsep.c @@ -398,8 +398,7 @@ pin_pack_for_commit_painting(struct got_pack **pack, { const struct got_error *err; - err = got_pack_find_pack_for_commit_painting(packidx, ids, nqueued, - repo); + err = got_pack_find_pack_for_commit_painting(packidx, ids, repo); if (err || *packidx == NULL) { *pack = NULL; return err;