]> git.ipfire.org Git - thirdparty/git.git/commit - read-cache.c
make_transient_cache_entry(): optionally alloc from mem_pool
authorMatheus Tavares <matheus.bernardino@usp.br>
Tue, 4 May 2021 16:27:28 +0000 (13:27 -0300)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 May 2021 03:25:25 +0000 (12:25 +0900)
commit96168827802b08c4adf2a036594ab235b2c5630f
treeb1d6fc3ba702f01f3747a0beea7a6e4adc8a6d1e
parent68e66f2987724a639c896e7996ea347be62ef578
make_transient_cache_entry(): optionally alloc from mem_pool

Allow make_transient_cache_entry() to optionally receive a mem_pool
struct in which it should allocate the entry. This will be used in the
following patch, to store some transient entries which should persist
until parallel checkout finishes.

Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout--worker.c
builtin/checkout.c
builtin/difftool.c
cache.h
read-cache.c
unpack-trees.c