entry: add checkout_entry_ca() taking preloaded conv_attrs
commitae22751f9b4bbbebcd0366a48a118b5a575af72d
authorMatheus Tavares <matheus.bernardino@usp.br>
Tue, 23 Mar 2021 14:19:36 +0000 (23 11:19 -0300)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Mar 2021 17:34:05 +0000 (23 10:34 -0700)
tree9af8f86811ebfa5d864e4967048fe890897b2d69
parent30419e7e1d53232bb83dcace200d1295b326b22b
entry: add checkout_entry_ca() taking preloaded conv_attrs

The parallel checkout machinery will call checkout_entry() for entries
that could not be written in parallel due to path collisions. At this
point, we will already be holding the conversion attributes for each
entry, and it would be wasteful to let checkout_entry() load these
again. Instead, let's add the checkout_entry_ca() variant, which
optionally takes a preloaded conv_attrs struct.

Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
entry.c
entry.h