]> git.99rst.org Git - git.git/commit
Merge branch 'rs/tempfile-wo-the-repository'
authorJunio C Hamano <redacted>
Thu, 30 Jul 2026 17:32:02 +0000 (10:32 -0700)
committerJunio C Hamano <redacted>
Thu, 30 Jul 2026 17:32:02 +0000 (10:32 -0700)
commit818eb57007db6a492346e65b365609f0072891e2
treead2722ba7b4c0822245ec99cd9c8bd0b9dcadeb7
parent13c7afec212fc97ce257d15601659314c6673d6c
parent2e486bfbf75c5098406a07e6967ecb80a28c316a
Merge branch 'rs/tempfile-wo-the-repository'

The tempfile and lockfile APIs have been refactored to stop depending
on the 'the_repository' global variable, and their callers have been
updated to use the repository-aware variants.

* rs/tempfile-wo-the-repository:
  use repo_hold_lock_file_for_update{,_mode,_timeout}() with custom repos
  tempfile: stop using the_repository
  lockfile: add repo_hold_lock_file_for_update{,_timeout}{,_mode}()
  refs/packed: use repo_create_tempfile()
  tempfile: add repo_create_tempfile{,_mode}()
14 files changed:
apply.c
builtin/difftool.c
builtin/gc.c
builtin/history.c
commit-graph.c
config.c
loose.c
midx-write.c
odb/source-files.c
refs/files-backend.c
refs/packed-backend.c
repack-midx.c
repository.c
rerere.c
git clone https://git.99rst.org/PROJECT