MCPcopy Create free account
hub / github.com/git/git / debug_transaction_finish

Function debug_transaction_finish

refs/debug.c:102–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102static int debug_transaction_finish(struct ref_store *refs,
103 struct ref_transaction *transaction,
104 struct strbuf *err)
105{
106 struct debug_ref_store *drefs = (struct debug_ref_store *)refs;
107 int res;
108 transaction->ref_store = drefs->refs;
109 res = drefs->refs->be->transaction_finish(drefs->refs, transaction,
110 err);
111 print_transaction(transaction);
112 trace_printf_key(&trace_refs, "finish: %d\n", res);
113 return res;
114}
115
116static int debug_transaction_abort(struct ref_store *refs,
117 struct ref_transaction *transaction,

Callers

nothing calls this directly

Calls 1

print_transactionFunction · 0.85

Tested by

no test coverage detected