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

2014-09-13 Thread Jens Lehmann
Am 12.09.2014 um 07:21 schrieb Fredrik Gustafsson: On Thu, Sep 11, 2014 at 10:33:51PM +0200, Cole wrote: Also if there is anything else you are currently looking at regarding submodules or thinking about, I would be glad to hear about it or to try look at it while I am working on these changes.

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

2014-09-13 Thread Jens Lehmann
Am 11.09.2014 um 22:33 schrieb Cole: Thanks for the feedback, really appreciate it, and will try to reformat the patches as you have asked. Thanks! When you say you would like the patches split, do you mean into two separate threads, or just different patches part of the same thread? I

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

2014-09-11 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` command, the 'submodule add' will result in an error as the branch

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

2014-09-11 Thread Jens Lehmann
Am 11.09.2014 um 19:11 schrieb 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` command, the

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

2014-09-11 Thread Cole
Excerpts from Jens Lehmann's message of 2014-09-11 21:21:04 +0200: Am 11.09.2014 um 19:11 schrieb 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

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

2014-09-11 Thread Fredrik Gustafsson
On Thu, Sep 11, 2014 at 10:33:51PM +0200, Cole wrote: Also if there is anything else you are currently looking at regarding submodules or thinking about, I would be glad to hear about it or to try look at it while I am working on these changes. Or if there is anything you can think of for me