Re: [RFC] Native access to Git LFS cache

2016-06-28 Thread Duy Nguyen
On Tue, Jun 28, 2016 at 3:43 PM, Lars Schneider wrote: > >> On 28 Jun 2016, at 15:14, Johannes Schindelin >> wrote: >> >> Hi Duy, >> >> On Tue, 28 Jun 2016, Duy Nguyen wrote: >> >>> On Tue, Jun 28, 2016 at 11:40 AM, Johannes Schindelin >>>

Re: [RFC] Native access to Git LFS cache

2016-06-28 Thread Duy Nguyen
On Tue, Jun 28, 2016 at 3:14 PM, Johannes Schindelin wrote: > Hi Duy, > > On Tue, 28 Jun 2016, Duy Nguyen wrote: > >> On Tue, Jun 28, 2016 at 11:40 AM, Johannes Schindelin >> wrote: >> > >> > On Mon, 27 Jun 2016, Duy Nguyen wrote: >> > >>

Re: [RFC] Native access to Git LFS cache

2016-06-28 Thread Christian Couder
On Tue, Jun 28, 2016 at 3:22 PM, Lars Schneider wrote: > > @Christian/Peff: > Is there a place to look for more info about your remote-object-store idea? You may want to take a look at: https://github.com/chriscool/git/commits/external-odb I just updated it and I may

Re: [RFC] Native access to Git LFS cache

2016-06-28 Thread Lars Schneider
> On 28 Jun 2016, at 15:14, Johannes Schindelin > wrote: > > Hi Duy, > > On Tue, 28 Jun 2016, Duy Nguyen wrote: > >> On Tue, Jun 28, 2016 at 11:40 AM, Johannes Schindelin >> wrote: >>> >>> On Mon, 27 Jun 2016, Duy Nguyen wrote: >>>

Re: [RFC] Native access to Git LFS cache

2016-06-28 Thread Lars Schneider
> On 27 Jun 2016, at 18:09, Junio C Hamano wrote: > > larsxschnei...@gmail.com writes: > >> Unfortunately that fix helps only with cloning. Any local Git operation >> that invokes the clean/smudge filter (e.g. switching branches) is still >> slow. > > Do you know where the

Re: [RFC] Native access to Git LFS cache

2016-06-28 Thread Johannes Schindelin
Hi Duy, On Tue, 28 Jun 2016, Duy Nguyen wrote: > On Tue, Jun 28, 2016 at 11:40 AM, Johannes Schindelin > wrote: > > > > On Mon, 27 Jun 2016, Duy Nguyen wrote: > > > >> On Mon, Jun 27, 2016 at 7:38 AM, wrote: > >> > ## Proposed solution >

Re: [RFC] Native access to Git LFS cache

2016-06-28 Thread Duy Nguyen
On Tue, Jun 28, 2016 at 11:40 AM, Johannes Schindelin wrote: > Hi Duy, > > On Mon, 27 Jun 2016, Duy Nguyen wrote: > >> On Mon, Jun 27, 2016 at 7:38 AM, wrote: >> > ## Proposed solution >> > Git LFS caches its objects under .git/lfs/objects.

Re: [RFC] Native access to Git LFS cache

2016-06-28 Thread Johannes Schindelin
Hi Duy, On Mon, 27 Jun 2016, Duy Nguyen wrote: > On Mon, Jun 27, 2016 at 7:38 AM, wrote: > > ## Proposed solution > > Git LFS caches its objects under .git/lfs/objects. Most of the time > > Git LFS objects are already available in the cache (e.g. if you switch > >

Re: [RFC] Native access to Git LFS cache

2016-06-27 Thread Junio C Hamano
larsxschnei...@gmail.com writes: > Unfortunately that fix helps only with cloning. Any local Git operation > that invokes the clean/smudge filter (e.g. switching branches) is still > slow. Do you know where the slowness comes from? Does Joey's new clean/smudge interface help GitLFS? You are

Re: [RFC] Native access to Git LFS cache

2016-06-27 Thread Duy Nguyen
On Mon, Jun 27, 2016 at 7:38 AM, wrote: > ## Proposed solution > Git LFS caches its objects under .git/lfs/objects. Most of the time Git > LFS objects are already available in the cache (e.g. if you switch branches > back and forth). I implemented these "cache hits"