diff options
author | Matheus Tavares <matheus.bernardino@usp.br> | 2021-05-04 13:27:29 -0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-05 12:26:33 +0900 |
commit | 60539506329d60c80610ccbbfe1d18c746c4ae52 (patch) | |
tree | 5cc0699e20e71605f639ee64de6ab08a56a3cca0 /t/t4013/diff.log_-SF_master_--max-count=2 | |
parent | make_transient_cache_entry(): optionally alloc from mem_pool (diff) | |
download | tgif-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/t4013/diff.log_-SF_master_--max-count=2')
0 files changed, 0 insertions, 0 deletions