]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'pw/worktree-reduce-the-repository' into next
authorJunio C Hamano <gitster@pobox.com>
Mon, 30 Mar 2026 21:04:21 +0000 (14:04 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Mar 2026 21:04:21 +0000 (14:04 -0700)
commitf967ececef775d7d45eba3e8a9e5973bbf7254ec
tree28259bd629b10cd625716c620be3d5463bc80d10
parentc128948b16720619fb24bb2fa3bf53db1e35e9f2
parent758086869940c96585f05a0eefe6d2f24fd70630
Merge branch 'pw/worktree-reduce-the-repository' into next

Reduce the reference to the_repository in the worktree subsystem.

* pw/worktree-reduce-the-repository:
  worktree: reject NULL worktree in get_worktree_git_dir()
  worktree add: stop reading ".git/HEAD"
  worktree: remove "the_repository" from is_current_worktree()
builtin/worktree.c
worktree.c
worktree.h