Skip to content

localrepo: Disable `FetchBundle()` fsck

Starting in Git version 2.46.0, executing git-fetch(1) on a bundle performs fsck checks when transfer.fsckObjects is enabled. Prior to this, this configuration was always ignored and fsck checks were not run. Unfortunately, fsck message severity configuration is ignored by Git only for bundle fetches.

Until this is supported by Git, disable transfer.fsckObjects so bundles containing fsck errors can continue to be fetched. This matches behavior prior to Git version 2.46.0.

Related: https://gitlab.com/gitlab-org/gitaly/-/issues/6408

Edited by Justin Tobler

Merge request reports

Loading