refs: remove unused typedef 'ref_transaction_commit_fn'

The typedef 'ref_transaction_commit_fn' is not used anywhere in our
code, let's remove it.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
main
Karthik Nayak 2026-05-04 19:44:05 +02:00 committed by Junio C Hamano
parent 94f057755b
commit 8a349a1d79
1 changed files with 0 additions and 4 deletions

View File

@ -421,10 +421,6 @@ typedef int ref_transaction_abort_fn(struct ref_store *refs,
struct ref_transaction *transaction,
struct strbuf *err);

typedef int ref_transaction_commit_fn(struct ref_store *refs,
struct ref_transaction *transaction,
struct strbuf *err);

typedef int optimize_fn(struct ref_store *ref_store,
struct refs_optimize_opts *opts);