aboutsummaryrefslogtreecommitdiffstats
path: root/pack-bitmap-write.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2024-08-17 03:29:37 -0400
committerJunio C Hamano <gitster@pobox.com>2024-08-17 09:44:41 -0700
commit47564945046f8cda634ee72c5b3838c1b0aa4582 (patch)
tree02e776bf2bbd6896b0801c2f13337c29047909ae /pack-bitmap-write.c
parentpack-bitmap: load writer config from repository parameter (diff)
downloadgit-47564945046f8cda634ee72c5b3838c1b0aa4582.tar.gz
git-47564945046f8cda634ee72c5b3838c1b0aa4582.zip
pack-bitmap: drop unused parameters from select_pseudo_merges()
We take the array of indexed_commits (and its length), but there's no need. The selection is based on ref reachability, not the linearized set of commits we're packing. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-bitmap-write.c')
-rw-r--r--pack-bitmap-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack-bitmap-write.c b/pack-bitmap-write.c
index 7787600234..9b9ca1cc36 100644
--- a/pack-bitmap-write.c
+++ b/pack-bitmap-write.c
@@ -737,7 +737,7 @@ void bitmap_writer_select_commits(struct bitmap_writer *writer,
stop_progress(&writer->progress);
- select_pseudo_merges(writer, indexed_commits, indexed_commits_nr);
+ select_pseudo_merges(writer);
}