From: Junio C Hamano Date: Wed, 4 Mar 2026 18:52:58 +0000 (-0800) Subject: Merge branch 'kn/ref-location' X-Git-Tag: v2.54.0-rc0~126 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d0a2acb78f157d39937a088548e561b27722e8d;p=thirdparty%2Fgit.git Merge branch 'kn/ref-location' Allow the directory in which reference backends store their data to be specified. * kn/ref-location: refs: add GIT_REFERENCE_BACKEND to specify reference backend refs: allow reference location in refstorage config refs: receive and use the reference storage payload refs: move out stub modification to generic layer refs: extract out `refs_create_refdir_stubs()` setup: don't modify repo in `create_reference_database()` --- 1d0a2acb78f157d39937a088548e561b27722e8d diff --cc setup.c index c8336eb20e,90cb9be578..393b970ae4 --- a/setup.c +++ b/setup.c @@@ -2046,11 -2086,10 +2090,12 @@@ void check_repository_format(struct rep repo_set_hash_algo(the_repository, fmt->hash_algo); repo_set_compat_hash_algo(the_repository, fmt->compat_hash_algo); repo_set_ref_storage_format(the_repository, - fmt->ref_storage_format); + fmt->ref_storage_format, + fmt->ref_storage_payload); the_repository->repository_format_worktree_config = fmt->worktree_config; + the_repository->repository_format_submodule_path_cfg = + fmt->submodule_path_cfg; the_repository->repository_format_relative_worktrees = fmt->relative_worktrees; the_repository->repository_format_partial_clone =