]> git.ipfire.org Git - thirdparty/git.git/commit - t/t0410-partial-clone.sh
promisor-remote: lazy-fetch objects in subprocess
authorJonathan Tan <jonathantanmy@google.com>
Tue, 18 Aug 2020 04:01:36 +0000 (21:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Aug 2020 23:46:53 +0000 (16:46 -0700)
commit7ca3c0ac37bfb803f11db14b7223f6d8f0cd142e
tree398fb7d6f2379542cfeae4db21a7e75046c3306a
parent5c3b801dab9d29c63c6c929405f808f064c11b77
promisor-remote: lazy-fetch objects in subprocess

Teach Git to lazy-fetch missing objects in a subprocess instead of doing
it in-process. This allows any fatal errors that occur during the fetch
to be isolated and converted into an error return value, instead of
causing the current command being run to terminate.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/partial-clone.txt
promisor-remote.c
t/t0410-partial-clone.sh
t/t4067-diff-partial-clone.sh
t/t5300-pack-object.sh
t/t5601-clone.sh