diff: batch fetching of missing blobs
authorJonathan Tan <jonathantanmy@google.com>
Fri, 5 Apr 2019 17:09:34 +0000 (10:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Apr 2019 05:04:50 +0000 (14:04 +0900)
commit7fbbcb21b162883615d5542e06fb2eb8685fd496
treefed721cfbc3a88dd7befb552f009316ee8adf31c
parent0f4a4fb1c4239a2aa46343add84ad6f99f6f3aae
diff: batch fetching of missing blobs

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 <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
t/t4067-diff-partial-clone.sh [new file with mode: 0755]