aboutsummaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-02-14 17:53:48 -0800
committerJunio C Hamano <gitster@pobox.com>2025-02-14 17:53:48 -0800
commit82522a9e2ce3e2b400a217a21b05204a2034edbc (patch)
treef893beca295e99602b5cdd57a38263827ca3e0f3 /refs.h
parentc3fffcfe8e6c3bfbe358366c973a6109fb95d4e6 (diff)
parent017bd8923986acd4992fd21f3451fdd15ec6edce (diff)
downloadgit-82522a9e2ce3e2b400a217a21b05204a2034edbc.tar.xz
Merge branch 'kn/reflog-migration-fix-followup'
Code clean-up. * kn/reflog-migration-fix-followup: reftable: prevent 'update_index' changes after adding records refs: use 'uint64_t' for 'ref_update.index' refs: mark `ref_transaction_update_reflog()` as static
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/refs.h b/refs.h
index a0cdd99250..09be47afbe 100644
--- a/refs.h
+++ b/refs.h
@@ -772,20 +772,6 @@ int ref_transaction_update(struct ref_transaction *transaction,
struct strbuf *err);
/*
- * Similar to`ref_transaction_update`, but this function is only for adding
- * a reflog update. Supports providing custom committer information. The index
- * field can be utiltized to order updates as desired. When not used, the
- * updates default to being ordered by refname.
- */
-int ref_transaction_update_reflog(struct ref_transaction *transaction,
- const char *refname,
- const struct object_id *new_oid,
- const struct object_id *old_oid,
- const char *committer_info, unsigned int flags,
- const char *msg, unsigned int index,
- struct strbuf *err);
-
-/*
* Add a reference creation to transaction. new_oid is the value that
* the reference should have after the update; it must not be
* null_oid. It is verified that the reference does not exist