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 be to add the missing error message when commiting packed-refs fails (thanks for fixing that) and to change some one-line errors to two-line. Reviewed-by: Jonathan Nieder <jrnie...@gmail.com> -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html