From: Junio C Hamano Date: Thu, 17 Apr 2025 17:28:17 +0000 (-0700) Subject: Merge branch 'jk/fetch-follow-remote-head-fix' X-Git-Url: https://www.git.kevux.org/?a=commitdiff_plain;h=b45113f5818b26bf22b85988f9ef7ff2da06d4a1;p=rit Merge branch 'jk/fetch-follow-remote-head-fix' "git fetch []" with only the configured fetch refspec should be the only thing to update refs/remotes//HEAD, but the code was overly eager to do so in other cases. * jk/fetch-follow-remote-head-fix: fetch: make set_head() call easier to read fetch: don't ask for remote HEAD if followRemoteHEAD is "never" fetch: only respect followRemoteHEAD with configured refspecs --- b45113f5818b26bf22b85988f9ef7ff2da06d4a1