diff options
author | Jeff King <peff@peff.net> | 2024-08-17 09:29:37 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-17 18:44:41 +0200 |
commit | 47564945046f8cda634ee72c5b3838c1b0aa4582 (patch) | |
tree | 02e776bf2bbd6896b0801c2f13337c29047909ae /pseudo-merge.h | |
parent | pack-bitmap: load writer config from repository parameter (diff) | |
download | git-47564945046f8cda634ee72c5b3838c1b0aa4582.tar.xz 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 '')
-rw-r--r-- | pseudo-merge.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pseudo-merge.h b/pseudo-merge.h index 3aecba772b..4b5febaa63 100644 --- a/pseudo-merge.h +++ b/pseudo-merge.h @@ -95,8 +95,7 @@ struct pseudo_merge_commit_idx { * * Optionally shows a progress meter. */ -void select_pseudo_merges(struct bitmap_writer *writer, - struct commit **commits, size_t commits_nr); +void select_pseudo_merges(struct bitmap_writer *writer); /* * Represents a serialized view of a file containing pseudo-merge(s) |