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 <peff@xxxxxxxx>: > 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html