summaryrefslogtreecommitdiff
path: root/t/t5411/test-0040-process-all-refs.sh
diff options
context:
space:
mode:
authorLibravatar Matheus Tavares <matheus.bernardino@usp.br>2021-05-04 13:27:29 -0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-05-05 12:26:33 +0900
commit60539506329d60c80610ccbbfe1d18c746c4ae52 (patch)
tree5cc0699e20e71605f639ee64de6ab08a56a3cca0 /t/t5411/test-0040-process-all-refs.sh
parentmake_transient_cache_entry(): optionally alloc from mem_pool (diff)
downloadtgif-60539506329d60c80610ccbbfe1d18c746c4ae52.tar.xz
builtin/checkout.c: complete parallel checkout support
Pathspec-limited checkouts (like `git checkout *.txt`) are performed by a code path that doesn't yet support parallel checkout because it calls checkout_entry() directly, instead of unpack_trees(). Let's add parallel checkout support for this code path too. The transient cache entries allocated in checkout_merged() are now allocated in a mem_pool which is only discarded after parallel checkout finishes. This is done because the entries need to be valid when run_parallel_checkout() is called. Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5411/test-0040-process-all-refs.sh')
0 files changed, 0 insertions, 0 deletions