Re: [PATCH] diff: batch fetching of missing blobs

2019-03-27 Thread Jeff King
On Tue, Mar 26, 2019 at 03:09:06PM -0700, Jonathan Tan wrote: > When running a command like "git show" or "git diff" in a partial clone, > batch all missing blobs to be fetched as one request. > > This is similar to c0c578b33c ("unpack-trees: batch fetching of missing > blobs", 2017-12-08), but f

Re: [PATCH] diff: batch fetching of missing blobs

2019-03-27 Thread Johannes Schindelin
Hi Jonathan, On Tue, 26 Mar 2019, Jonathan Tan wrote: > When running a command like "git show" or "git diff" in a partial clone, > batch all missing blobs to be fetched as one request. > > This is similar to c0c578b33c ("unpack-trees: batch fetching of missing > blobs", 2017-12-08), but for anoth

Re: [PATCH] diff: batch fetching of missing blobs

2019-03-27 Thread SZEDER Gábor
On Tue, Mar 26, 2019 at 03:09:06PM -0700, Jonathan Tan wrote: > diff --git a/t/t4067-diff-partial-clone.sh b/t/t4067-diff-partial-clone.sh > new file mode 100755 > index 00..38f03be114 > --- /dev/null > +++ b/t/t4067-diff-partial-clone.sh > @@ -0,0 +1,76 @@ > +#!/bin/sh > + > +test_descript

[PATCH] diff: batch fetching of missing blobs

2019-03-26 Thread Jonathan Tan
When running a command like "git show" or "git diff" in a partial clone, batch all missing blobs to be fetched as one request. This is similar to c0c578b33c ("unpack-trees: batch fetching of missing blobs", 2017-12-08), but for another command. Signed-off-by: Jonathan Tan --- Here's an improveme