]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'os/fetch-check-not-current-branch'
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 May 2022 23:42:48 +0000 (16:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 May 2022 23:42:48 +0000 (16:42 -0700)
commit5ed49a75f3a76731547e8322118a0bea1dd93676
treec4739ce778d332f38a92419ddb6a1c0a2732d98b
parent3ce9483c1a59277b73fe713504d44cf30d218b43
parentf7400da8005e8af979b61ab2f42bb2dacfa656c8
Merge branch 'os/fetch-check-not-current-branch'

The way "git fetch" without "--update-head-ok" ensures that HEAD in
no worktree points at any ref being updated was too wasteful, which
has been optimized a bit.

* os/fetch-check-not-current-branch:
  fetch: limit shared symref check only for local branches