mirror of
https://github.com/git/git.git
synced 2024-11-23 18:05:29 +08:00
refs: print error message in debug output
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
99f0d97b73
commit
a6db572af6
@ -47,7 +47,8 @@ static int debug_transaction_prepare(struct ref_store *refs,
|
||||
transaction->ref_store = drefs->refs;
|
||||
res = drefs->refs->be->transaction_prepare(drefs->refs, transaction,
|
||||
err);
|
||||
trace_printf_key(&trace_refs, "transaction_prepare: %d\n", res);
|
||||
trace_printf_key(&trace_refs, "transaction_prepare: %d \"%s\"\n", res,
|
||||
err->buf);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user