]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'mh/fetch-follow-remote-head-config' into jch
authorJunio C Hamano <gitster@pobox.com>
Fri, 26 Jun 2026 02:49:18 +0000 (19:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Jun 2026 02:49:18 +0000 (19:49 -0700)
commitf0291086bcdacaf7c0c6e25e783f48d64fdc7097
treebaad6c899ca67258b4fcc27d3316b8a620a9502b
parent66babcc4f81538b0ee4c38b7987fab81c361fde4
parent1a81aa364af949ea16127417926a7e1595ecc2b9
Merge branch 'mh/fetch-follow-remote-head-config' into jch

The `fetch.followRemoteHEAD` configuration variable has been added to
provide a default for the per-remote `remote.<name>.followRemoteHEAD`
setting.

* mh/fetch-follow-remote-head-config:
  fetch: fixup a misaligned comment
  fetch: add configuration variable fetch.followRemoteHEAD
  fetch: refactor do_fetch handling of followRemoteHEAD
  fetch: return 0 on known git_fetch_config
  fetch: rename function report_set_head
  t5510: cleanup remote in followRemoteHEAD dangling ref test
  doc: explain fetchRemoteHEADWarn advice
  fetch: fixup set_head advice for warn-if-not-branch
Documentation/config/remote.adoc
builtin/fetch.c