Possible bug with sparse checkout and submodules

Victor <[email protected]>
Newsgroups org.kernel.vger.git
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.