Possible bug with sparse checkout and submodules
- From
- Victor <sgm2005@gmail.com>
- Date
- Aug 21, 2026, 11:58 UTC
- Message-ID
- <CAH9cVJTQxBsKAA1DRUGj_J6B_14dsX81ZuvN_rETY7a-QvZQLQ@mail.gmail.com>
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