Re: [PATCH 11/11] Resumable clone: implement primer logic in git-clone

2016-09-27 Thread Kevin Wern
On Fri, Sep 16, 2016 at 04:32:05PM -0700, Junio C Hamano wrote: > > --- > > @@ -172,6 +173,12 @@ objects from the source repository into a pack in the > > cloned repository. > > via ssh, this specifies a non-default path for the command > > run on the other end. > > > > +--prime

Re: [PATCH 11/11] Resumable clone: implement primer logic in git-clone

2016-09-27 Thread Kevin Wern
On Mon, Sep 19, 2016 at 09:04:40PM +0700, Duy Nguyen wrote: > On Fri, Sep 16, 2016 at 7:12 AM, Kevin Wern wrote: > > builtin/clone.c | 590 > > +--- > > Argh.. this is too big for my brain at this hour. It might be easier > to follow if you sep

Re: [PATCH 11/11] Resumable clone: implement primer logic in git-clone

2016-09-19 Thread Junio C Hamano
Duy Nguyen writes: > On Fri, Sep 16, 2016 at 7:12 AM, Kevin Wern wrote: >> builtin/clone.c | 590 >> +--- > > Argh.. this is too big for my brain at this hour. It might be easier > to follow if you separate out some code move (I think I've see

Re: [PATCH 11/11] Resumable clone: implement primer logic in git-clone

2016-09-19 Thread Duy Nguyen
On Fri, Sep 16, 2016 at 7:12 AM, Kevin Wern wrote: > builtin/clone.c | 590 > +--- Argh.. this is too big for my brain at this hour. It might be easier to follow if you separate out some code move (I think I've seen some, not sure). I'll try to

Re: [PATCH 11/11] Resumable clone: implement primer logic in git-clone

2016-09-16 Thread Junio C Hamano
Kevin Wern writes: > Use transport_download_primer and transport_prime_clone in git clone. > This only supports a fully connected packfile. > > transport_prime_clone and transport_download_primer are executed > completely independent of transport_(get|fetch)_remote_refs, et al. > transport_downlo

[PATCH 11/11] Resumable clone: implement primer logic in git-clone

2016-09-15 Thread Kevin Wern
Use transport_download_primer and transport_prime_clone in git clone. This only supports a fully connected packfile. transport_prime_clone and transport_download_primer are executed completely independent of transport_(get|fetch)_remote_refs, et al. transport_download_primer is executed based on t