]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'kn/midx-wo-the-repository'
authorJunio C Hamano <gitster@pobox.com>
Fri, 13 Dec 2024 15:33:44 +0000 (07:33 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Dec 2024 15:33:44 +0000 (07:33 -0800)
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`

1  2 
builtin/fast-import.c
builtin/gc.c
builtin/index-pack.c
http.c
pack-bitmap.c
revision.c

Simple merge
diff --cc builtin/gc.c
Simple merge
Simple merge
diff --cc http.c
Simple merge
diff --cc pack-bitmap.c
Simple merge
diff --cc revision.c
Simple merge