]> git.ipfire.org Git - thirdparty/git.git/commit
entry: extract update_ce_after_write() from write_entry()
authorMatheus Tavares <matheus.bernardino@usp.br>
Tue, 23 Mar 2021 14:19:34 +0000 (11:19 -0300)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Mar 2021 17:34:05 +0000 (10:34 -0700)
commit584a0d13f25d60694a1226cd274c33dba62bf9e4
treec40df6cf2c9f4b2c4c099961eba6e78f5cbd1626
parent49cfd9032a5c1ef7401b79eff8db471b4c6ed7ef
entry: extract update_ce_after_write() from write_entry()

The code that updates the in-memory index information after an entry is
written currently resides in write_entry(). Extract it to a public
function so that it can be called by the parallel checkout functions,
outside entry.c, in a later patch.

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