Re: [BUG REPORT] git 2.9.0 clone --recursive fails on cloning a submodule
- From
Jeff King <peff@peff.net>
- Date
- Jun 19, 2016, 14:46 UTC
- Message-ID
- <20160619144628.GA7402@sigill.intra.peff.net>
- In-Reply-To
- <OFC46A8782.5F47CDBA-ONC2257FD7.00475209-C2257FD7.00483117@notes.na.collabserv.com>
On Sun, Jun 19, 2016 at 04:07:41PM +0300, Vadim Eisenberg wrote:
Show 5 quoted lines
> The problem is with other tools that use git, like Swift Package Manager - > https://swift.org/package-manager/. > Versions of git before 2.9.0 have no option --no-shallow-submodules. So > the tools that use git would have to check if the version of git is > greater than or equal 2.9.0 to know to specify that option.
Oh, I agree it's something we should treat as a regression. Using `--no-shallow-submodules` is just a workaround.
-Peff