Re: [PATCH/RFC 1/2] submodule: add ability to shallowly clone any branch in a repo as a submodule

2014-09-14 Thread Eric Sunshine
On Sun, Sep 14, 2014 at 6:38 AM, Cole Minnaar wrote: > Currently when specifying the `--depth` option to the 'submodule add' > command, it can only create a shallow submodule clone of the currently > active branch from the cloned repository. If a branch is specified using > the `--branch` option,

[PATCH/RFC 1/2] submodule: add ability to shallowly clone any branch in a repo as a submodule

2014-09-14 Thread Cole Minnaar
Currently when specifying the `--depth` option to the 'submodule add' command, it can only create a shallow submodule clone of the currently active branch from the cloned repository. If a branch is specified using the `--branch` option, and the `--depth` option is also specified, the 'submodule add