]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'pz/fetch-submodule-errors-config' into seen
authorJunio C Hamano <gitster@pobox.com>
Fri, 31 Jul 2026 23:21:02 +0000 (16:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Jul 2026 23:21:02 +0000 (16:21 -0700)
commit8e2b331d4deb6a1d9dbe82a64c86c61e726a0da5
tree48b8c646a7ef6ad102783b6cf69abe52ca180eae
parentef0704b3a9469ab6a202ec43d0034050c626d518
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