threads / bug / 66202

Possible bug with sparse checkout and submodules

Subject: Possible bug with sparse checkout and submodules

## tl;dr

One message between Aug 21, 2026 and Aug 21, 2026.

replies: 0people: 1as markdown or json

Victor· Aug 21, 2026, 11:58 UTC · lore
Hi,

git fetch fails with default fetch.recurseSubmodules=on-demand when an updated submodule is excluded by sparse checkout. I have a self-contained reproduction at https://gist.github.com/balakine/c15a268fa0644be6c56225cefc70a7f6

I wasn't able to find any existing reports in the archive.
Victor

← back to recent threads