]> Kevux Git Server - rit/commit
Merge branch 'ar/receive-pack-worktree-env'
authorJunio C Hamano <gitster@pobox.com>
Sun, 7 Jun 2026 14:58:24 +0000 (23:58 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sun, 7 Jun 2026 14:58:24 +0000 (23:58 +0900)
commit17204228cf658e4766d16fdab26266677541496c
tree0cc1f13663ba0323934c53f03d43ef849cd98ceb
parent9ac3f193c05c2237e2b14ebaa1149e9fc8a1abe0
parent44d04e442683b53ed618b74861f056f93fcbd783
Merge branch 'ar/receive-pack-worktree-env'

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