diff options
| author | Taylor Blau <me@ttaylorr.com> | 2025-10-15 18:27:27 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-16 10:08:53 -0700 |
| commit | 03015747584e9f96c7ad6b57ecd99aa694312333 (patch) | |
| tree | 27889d154c5157b8ff3c9912427d602924d4167c /contrib/persistent-https | |
| parent | 94d99de7724bce0325de8293fa1c2312d5960d7c (diff) | |
| download | git-03015747584e9f96c7ad6b57ecd99aa694312333.tar.gz git-03015747584e9f96c7ad6b57ecd99aa694312333.zip | |
builtin/repack.c: avoid "the_repository" when removing packs
The 'remove_redundant_pack()' function uses "the_repository" to obtain,
and optionally remove, the repository's MIDX. Instead of relying on
"the_repository", pass around a "struct repository *" parameter through
its callers, and use that instead.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
