]> git.ipfire.org Git - thirdparty/git.git/commit - cache-tree.c
cache-tree: use ODB transaction around writing a tree
authorNeeraj Singh <neerajsi@microsoft.com>
Tue, 5 Apr 2022 05:20:10 +0000 (22:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Apr 2022 20:13:26 +0000 (13:13 -0700)
commit4d33e2ba6b9db6a28085b2ef7e46d30a981875ab
tree0a28e2fcbab9b9b1492f39a54dfca0f803d25fef
parentc0f4752ed2ffb89d10a9e469a83f089cc7e9df9d
cache-tree: use ODB transaction around writing a tree

Take advantage of the odb transaction infrastructure around writing the
cached tree to the object database.

Signed-off-by: Neeraj Singh <neerajsi@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache-tree.c