]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'pz/fetch-submodule-errors-config' into seen
authorJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2026 17:44:39 +0000 (10:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2026 17:44:39 +0000 (10:44 -0700)
commitf522d05898dce5ae5aedb325e6a916e75bf3be65
tree721b1cd04ab9d595a07af9c54b41d5c326f1b440
parent3bc7f00cda1c3848aa29e6266b04e3ffcbaa5d97
parent0b977622b8434e6753425fb66024e2fd93bba0c8
Merge branch 'pz/fetch-submodule-errors-config' into seen

The 'git fetch' command has been updated to allow configuring how
submodule fetch errors are handled.  A new configuration variable
'fetch.submoduleErrors' and a corresponding '--submodule-errors'
command-line option have been introduced, allowing users to make
submodule fetch errors non-fatal (warn instead of fail).
Additionally, a premature failure during recursive submodule fetches
has been fixed by deferring the error until the OID-based retry phase
also fails.

* pz/fetch-submodule-errors-config:
  fetch: add fetch.submoduleErrors to make submodule fetch errors non-fatal
  submodule: fix premature failure in recursive submodule fetch
Documentation/config/fetch.adoc
builtin/fetch.c
submodule.c
t/t5526-fetch-submodules.sh