From: Junio C Hamano Date: Fri, 13 Dec 2024 15:33:44 +0000 (-0800) Subject: Merge branch 'kn/midx-wo-the-repository' X-Git-Tag: v2.48.0-rc0~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca43bd2562fb85b34c846c1bbc2175e1ef145bf1;p=thirdparty%2Fgit.git Merge branch 'kn/midx-wo-the-repository' Yet another "pass the repository through the callchain" topic. * kn/midx-wo-the-repository: midx: inline the `MIDX_MIN_SIZE` definition midx: pass down `hash_algo` to functions using global variables midx: pass `repository` to `load_multi_pack_index` midx: cleanup internal usage of `the_repository` and `the_hash_algo` midx-write: pass down repository to `write_midx_file[_only]` write-midx: add repository field to `write_midx_context` midx-write: use `revs->repo` inside `read_refs_snapshot` midx-write: pass down repository to static functions packfile.c: remove unnecessary prepare_packed_git() call midx: add repository to `multi_pack_index` struct config: make `packed_git_(limit|window_size)` non-global variables config: make `delta_base_cache_limit` a non-global variable packfile: pass down repository to `for_each_packed_object` packfile: pass down repository to `has_object[_kept]_pack` packfile: pass down repository to `odb_pack_name` packfile: pass `repository` to static function in the file packfile: use `repository` from `packed_git` directly packfile: add repository to struct `packed_git` --- ca43bd2562fb85b34c846c1bbc2175e1ef145bf1