summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_--pretty=oneline_--root_initial
diff options
context:
space:
mode:
authorLibravatar Matheus Tavares <matheus.bernardino@usp.br>2021-03-23 11:19:35 -0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-03-23 10:34:05 -0700
commit30419e7e1d53232bb83dcace200d1295b326b22b (patch)
tree1e9de7a49c20208f698db8b7b6ff0a4342cb59e3 /t/t4013/diff.diff-tree_--pretty=oneline_--root_initial
parententry: extract update_ce_after_write() from write_entry() (diff)
downloadtgif-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/t4013/diff.diff-tree_--pretty=oneline_--root_initial')
0 files changed, 0 insertions, 0 deletions