diff options
author | Matheus Tavares <matheus.bernardino@usp.br> | 2021-03-23 11:19:35 -0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-23 10:34:05 -0700 |
commit | 30419e7e1d53232bb83dcace200d1295b326b22b (patch) | |
tree | 1e9de7a49c20208f698db8b7b6ff0a4342cb59e3 /t/t6437-submodule-merge.sh | |
parent | entry: extract update_ce_after_write() from write_entry() (diff) | |
download | tgif-30419e7e1d53232bb83dcace200d1295b326b22b.tar.xz |
entry: move conv_attrs lookup up to checkout_entry()
In a following patch, checkout_entry() will use conv_attrs to decide
whether an entry should be enqueued for parallel checkout or not. But
the attributes lookup only happens lower in this call stack. To avoid
the unnecessary work of loading the attributes twice, let's move it up
to checkout_entry(), and pass the loaded struct down to write_entry().
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6437-submodule-merge.sh')
0 files changed, 0 insertions, 0 deletions