]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/receive-pack-updateinstead-in-worktree' into next
authorJunio C Hamano <gitster@pobox.com>
Thu, 2 Apr 2026 04:36:33 +0000 (21:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Apr 2026 04:36:33 +0000 (21:36 -0700)
commitdf61eac37bd78906c5d7c1b063f42cf7aac8beda
tree9c1517e15248fa596656ec7fd36221b6f979f263
parentbec92be5e94c59eb905ed88b3e6ff33c154c0af3
parent8151f4fe7e4bf36f2656ae849a4ffaf386708178
Merge branch 'ps/receive-pack-updateinstead-in-worktree' into next

The check in "receive-pack" to prevent a checked out branch from
getting updated via updateInstead mechanism has been corrected.

* ps/receive-pack-updateinstead-in-worktree:
  receive-pack: use worktree HEAD for updateInstead
  t5516: clean up cloned and new-wt in denyCurrentBranch and worktrees test
  t5516: test updateInstead with worktree and unborn bare HEAD
builtin/receive-pack.c