From: Karthik Nayak Date: Mon, 4 May 2026 17:44:05 +0000 (+0200) Subject: refs: remove unused typedef 'ref_transaction_commit_fn' X-Git-Tag: v2.55.0-rc0~76^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a349a1d7970ed2c6fcac8ea0c1d641384ad082d;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/refs/refs-internal.h b/refs/refs-internal.h index d79e35fd26..2d963cc4f4 100644 --- a/refs/refs-internal.h +++ b/refs/refs-internal.h @@ -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);