]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ar/receive-pack-worktree-env' into jch
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 May 2026 04:01:23 +0000 (13:01 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 May 2026 04:01:23 +0000 (13:01 +0900)
commite6fbcc3360fd4089dce9f916d9ef16059135cd86
tree643b1652d466b5956ec6c1e6a83c62a1a9bd18e5
parentef3af42d414d1e198ff47f8b12b1bb0b69aaaad7
parent44d04e442683b53ed618b74861f056f93fcbd783
Merge branch 'ar/receive-pack-worktree-env' into jch

The GIT_WORK_TREE variable prepared to invoke the push-to-checkout
hook was leaking into the environment even when there was no hook
used and broke the default push-to-deploy (i.e., let "git checkout"
update the working tree only when the working tree is clean).

* ar/receive-pack-worktree-env:
  receive-pack: fix updateInstead with core.worktree
builtin/receive-pack.c
t/t5516-fetch-push.sh