Re: Git shallow clone branch doesn't work with recursive submodules cloning
- From
Arkady Shapkin <arkady.shapkin@gmail.com>
- Date
- Aug 15, 2016, 12:29 UTC
- Message-ID
- <CAB-zwL2oFMBFjkkoh1EhSD7FCK_1wVV+whu8uxTKTHQKJgNzrQ@mail.gmail.com>
- 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 <peff@peff.net>:
Show 15 quoted lines
> 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