[PATCH v8 08/44] update-ref.c: log transaction error from the update_ref

2014-05-15 Thread Ronnie Sahlberg
Call ref_transaction_commit with QUIET_ON_ERR and use the strbuf that is returned to print a log message if/after the transaction fails. Signed-off-by: Ronnie Sahlberg sahlb...@google.com --- builtin/update-ref.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [PATCH v8 08/44] update-ref.c: log transaction error from the update_ref

2014-05-15 Thread Jonathan Nieder
Ronnie Sahlberg wrote: Call ref_transaction_commit with QUIET_ON_ERR and use the strbuf that is returned to print a log message if/after the transaction fails. Signed-off-by: Ronnie Sahlberg sahlb...@google.com All error paths in _commit add to the error string now, so the only effect should