aboutsummaryrefslogtreecommitdiff
path: root/refs/packed-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'refs/packed-backend.c')
-rw-r--r--refs/packed-backend.c46
1 files changed, 23 insertions, 23 deletions
diff --git a/refs/packed-backend.c b/refs/packed-backend.c
index f56e2cc635..47f01fa5c9 100644
--- a/refs/packed-backend.c
+++ b/refs/packed-backend.c
@@ -1667,30 +1667,30 @@ static int packed_reflog_expire(struct ref_store *ref_store,
}
struct ref_storage_be refs_be_packed = {
- NULL,
- "packed",
- packed_ref_store_create,
- packed_init_db,
- packed_transaction_prepare,
- packed_transaction_finish,
- packed_transaction_abort,
- packed_initial_transaction_commit,
+ .next = NULL,
+ .name = "packed",
+ .init = packed_ref_store_create,
+ .init_db = packed_init_db,
+ .transaction_prepare = packed_transaction_prepare,
+ .transaction_finish = packed_transaction_finish,
+ .transaction_abort = packed_transaction_abort,
+ .initial_transaction_commit = packed_initial_transaction_commit,
- packed_pack_refs,
- packed_create_symref,
- packed_delete_refs,
- packed_rename_ref,
- packed_copy_ref,
+ .pack_refs = packed_pack_refs,
+ .create_symref = packed_create_symref,
+ .delete_refs = packed_delete_refs,
+ .rename_ref = packed_rename_ref,
+ .copy_ref = packed_copy_ref,
- packed_ref_iterator_begin,
- packed_read_raw_ref,
- NULL,
+ .iterator_begin = packed_ref_iterator_begin,
+ .read_raw_ref = packed_read_raw_ref,
+ .read_symbolic_ref = NULL,
- packed_reflog_iterator_begin,
- packed_for_each_reflog_ent,
- packed_for_each_reflog_ent_reverse,
- packed_reflog_exists,
- packed_create_reflog,
- packed_delete_reflog,
- packed_reflog_expire
+ .reflog_iterator_begin = packed_reflog_iterator_begin,
+ .for_each_reflog_ent = packed_for_each_reflog_ent,
+ .for_each_reflog_ent_reverse = packed_for_each_reflog_ent_reverse,
+ .reflog_exists = packed_reflog_exists,
+ .create_reflog = packed_create_reflog,
+ .delete_reflog = packed_delete_reflog,
+ .reflog_expire = packed_reflog_expire
};