git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Possible bug with sparse checkout and submodules

From
VVictor <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
Message 1 of 1 in “Possible bug with sparse checkout and submodules”
  1. VictorAug 21, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.