diff options
| author | Jeff King <peff@peff.net> | 2024-08-17 03:29:37 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-08-17 09:44:41 -0700 |
| commit | 47564945046f8cda634ee72c5b3838c1b0aa4582 (patch) | |
| tree | 02e776bf2bbd6896b0801c2f13337c29047909ae /pack-bitmap-write.c | |
| parent | pack-bitmap: load writer config from repository parameter (diff) | |
| download | git-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.c | 2 |
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); } |
