]> git.ipfire.org Git - thirdparty/git.git/commit
object-file: rename files transaction fsync function
authorJustin Tobler <jltobler@gmail.com>
Fri, 10 Jul 2026 16:37:13 +0000 (11:37 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Jul 2026 20:21:52 +0000 (13:21 -0700)
commit9c182bb59bf0eb7fc3deecec65b4d5efe47df28c
tree68e503f0c1762dca2c76986e7569505c8acc495f
parentf065d5985c30d41d8d43ca86c299a311533691bc
object-file: rename files transaction fsync function

When writing an object to a "files" ODB transaction, a full hardware
flush is not initially performed during the fsync in
`fsync_loose_object_transaction()` and instead delayed until the
transaction is later committed.

To be more consistent with other "files" ODB transaction helpers, rename
the function to `odb_transaction_files_fsync()` accordingly. The
conditional in the helper is also slightly restructured to improve
clarity to readers.

Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-file.c