From: Arkady Shapkin Date: Mon, 15 Aug 2016 12:29:14 GMT Subject: Re: Git shallow clone branch doesn't work with recursive submodules cloning Message-ID: In-Reply-To: <20160815120441.nwtdqfgcv3ljt4vl@sigill.intra.peff.net> Thank you, after updating to "2.9.3.windows.1" options "--recursive --depth 1" now works. But "--recursive --shallow-submodules" and "--recursive --shallow-submodules --depth 1" still doesn't work. 2016-08-15 15:04 GMT+03:00 Jeff King : > On Mon, Aug 15, 2016 at 02:20:27PM +0300, Arkady Shapkin wrote: > >> I am trying clone repository by tag with recursive submodules init, >> but for one submodule it doesn't work. >> What I'm doing wrong? > > Nothing. See 18a74a0 (clone: do not let --depth imply > --shallow-submodules, 2016-06-19). > >> >git --version >> git version 2.9.0.windows.1 > > The fix is in v2.9.1. > > -Peff -- WBR, Arkady Shapkin aka Dragon