]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'hv/receive-denycurrent-everywhere'
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2020 18:43:02 +0000 (10:43 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2020 18:43:03 +0000 (10:43 -0800)
commit4a2e91db652e197803c6f29e2c2f1c9dfbc16506
treeabae7a1c8eb6eeb0d57f561725122341c3e07fe7
parent49e5043b09fffb0411e8bae19d60014e72a36fd0
parent4d864895a23bbbb5403d9aa8a65d0576d2029597
Merge branch 'hv/receive-denycurrent-everywhere'

"git push" should stop from updating a branch that is checked out
when receive.denyCurrentBranch configuration is set, but it failed
to pay attention to checkouts in secondary worktrees.  This has
been corrected.

* hv/receive-denycurrent-everywhere:
  t2402: test worktree path when called in .git directory
  receive.denyCurrentBranch: respect all worktrees
  t5509: use a bare repository for test push target
  get_main_worktree(): allow it to be called in the Git directory
t/t5516-fetch-push.sh
worktree.c