From: Junio C Hamano Date: Wed, 12 Nov 2025 16:32:01 GMT Subject: Re: git fails to checkout SHA1 submodule in SHA256 repo with --depth=1 Message-ID: In-Reply-To: Martin Wilck writes: >> Subject: Re: git fails to checkout SHA1 submodule in SHA256 repo with --depth=1 I think it is not supposed to work to mix repositories like this, regardless of any other option like --depth. I think brian gave a response to that effect in a thread in the past few months. ... goes and looks ... https://lore.kernel.org/git/aJ5gOPQ9oologqj-@fruit.crustytoothpaste.net/ https://lore.kernel.org/git/aKPJNNWMW9gtueEK@fruit.crustytoothpaste.net/