]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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


Trivial merge