]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/set-head-symref-fix'
authorJunio C Hamano <gitster@pobox.com>
Thu, 19 Dec 2024 18:58:28 +0000 (10:58 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Dec 2024 18:58:28 +0000 (10:58 -0800)
"git fetch" from a configured remote learned to update a missing
remote-tracking HEAD but it asked the remote about their HEAD even
when it did not need to, which has been corrected.  Incidentally,
this also corrects "git fetch --tags $URL" which was broken by the
new feature in an unspecified way.

* jc/set-head-symref-fix:
  fetch: do not ask for HEAD unnecessarily

1  2 
builtin/fetch.c
t/t5510-fetch.sh

diff --cc builtin/fetch.c
Simple merge
Simple merge