]> git.99rst.org Git - git.git/commit
worktree: pass repository to file-local functions
authorPatrick Steinhardt <redacted>
Thu, 16 Jul 2026 05:33:05 +0000 (07:33 +0200)
committerJunio C Hamano <redacted>
Thu, 16 Jul 2026 14:40:21 +0000 (07:40 -0700)
commit2cec1c92e63dec350ab044170a08d610381349b1
tree49bc44b2c8777e4611ff1e570131611d07e2066f
parent28723dad6465d98d15208d2c7692a3b873b03e3b
worktree: pass repository to file-local functions

We have a bunch of file-local functions that use `the_repository`.
Adapt them so that the repository is instead passed as a parameter so
that we can get rid of this dependency.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
worktree.c
git clone https://git.99rst.org/PROJECT