]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commitae75cefd94075045edeb1d23283a47e4e48a9360
tree04a340ed0710c79f612de660b2eb18e2151e4491
parent5f212684abb66c9604e745a2296af8c4bb99961c
parent6c915c3f85f70b6adbe1a6b17dea743e8ff6dee1
Merge branch 'jc/set-head-symref-fix'

"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
builtin/fetch.c
t/t5510-fetch.sh