| 100 | } |
| 101 | |
| 102 | static 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 | |
| 116 | static int debug_transaction_abort(struct ref_store *refs, |
| 117 | struct ref_transaction *transaction, |
nothing calls this directly
no test coverage detected