]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'mh/fetch-follow-remote-head-config'
authorJunio C Hamano <gitster@pobox.com>
Mon, 6 Jul 2026 22:50:22 +0000 (15:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jul 2026 22:50:22 +0000 (15:50 -0700)
commitb7daa7ef643145a2dbcbea13ba11ad507abd6b60
treeb00bd4fb1e3a7592aaad1f9514338b498ea05b8f
parent6786e9ce003264b765125c431835f00fddf61b1f
parent1a81aa364af949ea16127417926a7e1595ecc2b9
Merge branch 'mh/fetch-follow-remote-head-config'

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