]> git.ipfire.org Git - thirdparty/git.git/commit
use repo_hold_lock_file_for_update{,_mode,_timeout}() with custom repos
authorRené Scharfe <l.s.r@web.de>
Tue, 14 Jul 2026 17:59:56 +0000 (19:59 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Jul 2026 19:54:25 +0000 (12:54 -0700)
commit2e486bfbf75c5098406a07e6967ecb80a28c316a
tree952c2f6cd8791f4e6efe1facb904da2b0dfcb0ca
parent75e05f6bc3b3e04301d25327f54b2c9998471c1d
use repo_hold_lock_file_for_update{,_mode,_timeout}() with custom repos

Apply the config setting core.sharedRepository from the repository at
hand instead of from the_repository.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
17 files changed:
apply.c
builtin/difftool.c
builtin/gc.c
builtin/history.c
builtin/sparse-checkout.c
bundle.c
commit-graph.c
config.c
loose.c
midx-write.c
odb/source-files.c
refs/files-backend.c
refs/packed-backend.c
refs/packed-backend.h
repack-midx.c
repository.c
rerere.c