Re: Wanted: shallow submodule clones with --no-single-branch.

2017-01-03 Thread Stefan Beller
On Fri, Dec 30, 2016 at 2:50 AM, Tor Andersson wrote: > Hi, > > When adding submodules with --depth=1 only the master branch is > cloned. This often leaves the submodule pointing to a non-existing > commit. You can also use the "--branch=not_master" flag to track another branch. This however does

Wanted: shallow submodule clones with --no-single-branch.

2016-12-30 Thread Tor Andersson
Hi, When adding submodules with --depth=1 only the master branch is cloned. This often leaves the submodule pointing to a non-existing commit. It would be useful if I could pass the --no-single-branch argument to the submodule clone process, since then a submodule can point to any tag or branch w