diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-08-11 15:46:46 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-08-11 09:22:22 -0700 |
| commit | 9ff212961506679c1e2c1541b17ab2bd8563ff15 (patch) | |
| tree | f2041bc4363c92b1c6001cd62104004393764d23 /builtin/commit-graph.c | |
| parent | odb: simplify calling `link_alt_odb_entry()` (diff) | |
| download | git-9ff212961506679c1e2c1541b17ab2bd8563ff15.tar.gz git-9ff212961506679c1e2c1541b17ab2bd8563ff15.zip | |
midx: drop redundant `struct repository` parameter
There are a couple of functions that take both a `struct repository` and
a `struct multi_pack_index`. This provides redundant information though
without much benefit given that the multi-pack index already has a
pointer to its owning repository.
Drop the `struct repository` parameter from such functions. While at it,
reorder the list of parameters of `fill_midx_entry()` so that the MIDX
comes first to better align with our coding guidelines.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions
