Re: Shallow submodule efficiency

2016-06-28 Thread Stefan Beller
On Tue, Jun 28, 2016 at 12:08 PM, Martin von Gagern wrote: > Hi Stefan, > > On 28.06.2016 19:20, Stefan Beller wrote: >>> I have the feeling that “git submodule update --depth 1” is less clever >>> than it could be. Here is one example I observed with git 2.0.0: >> >> 2.9.0 (as "Direct fetching of

Re: Shallow submodule efficiency

2016-06-28 Thread Martin von Gagern
Hi Stefan, On 28.06.2016 19:20, Stefan Beller wrote: >> I have the feeling that “git submodule update --depth 1” is less clever >> than it could be. Here is one example I observed with git 2.0.0: > > 2.9.0 (as "Direct fetching of " is not part of 2.0.0 IIRC) ? Yes, sorry. I had this tested with

Re: Shallow submodule efficiency

2016-06-28 Thread Stefan Beller
On Mon, Jun 27, 2016 at 10:39 PM, Martin von Gagern wrote: > Hi! > > I have the feeling that “git submodule update --depth 1” is less clever > than it could be. Here is one example I observed with git 2.0.0: 2.9.0 (as "Direct fetching of " is not part of 2.0.0 IIRC) ? > > git init foo > cd f

Shallow submodule efficiency

2016-06-27 Thread Martin von Gagern
Hi! I have the feeling that “git submodule update --depth 1” is less clever than it could be. Here is one example I observed with git 2.0.0: git init foo cd foo git clone --single-branch \ -b v0.99 https://github.com/git/git.git git-scm git submodule add https://github.com/git