From: Junio C Hamano Date: Fri, 26 Jan 2024 16:54:46 +0000 (-0800) Subject: Merge branch 'ps/worktree-refdb-initialization' X-Git-Tag: v2.44.0-rc0~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc8ce995a2ad203ffb5ef335682b64da955e645a;p=thirdparty%2Fgit.git Merge branch 'ps/worktree-refdb-initialization' Instead of manually creating refs/ hierarchy on disk upon a creation of a secondary worktree, which is only usable via the files backend, use the refs API to populate it. * ps/worktree-refdb-initialization: builtin/worktree: create refdb via ref backend worktree: expose interface to look up worktree by name builtin/worktree: move setup of commondir file earlier refs/files: skip creation of "refs/{heads,tags}" for worktrees setup: move creation of "refs/" into the files backend refs: prepare `refs_init_db()` for initializing worktree refs --- dc8ce995a2ad203ffb5ef335682b64da955e645a