From 8bf06d05a581dfb552cd0e290680f75d3676eb1d Mon Sep 17 00:00:00 2001 From: Justin Tobler Date: Mon, 2 Feb 2026 18:10:00 -0600 Subject: object-file: rename transaction functions In a subsequent commit, ODB transactions are made more generic to facilitate each ODB source providing its own transaction handling. Rename `object_file_transaction_{begin,commit}()` to `odb_transaction_files_{begin,commit}()` to better match the future source specific transaction implementation. Signed-off-by: Justin Tobler Signed-off-by: Junio C Hamano --- odb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb.c') diff --git a/odb.c b/odb.c index ac70b6a099..a5e6fd01a9 100644 --- a/odb.c +++ b/odb.c @@ -1153,10 +1153,10 @@ void odb_reprepare(struct object_database *o) struct odb_transaction *odb_transaction_begin(struct object_database *odb) { - return object_file_transaction_begin(odb->sources); + return odb_transaction_files_begin(odb->sources); } void odb_transaction_commit(struct odb_transaction *transaction) { - object_file_transaction_commit(transaction); + odb_transaction_files_commit(transaction); } -- cgit v1.3