Re: [PATCH v6 06/42] refs.c: make update_ref_write update a strbuf on failure
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- May 14, 2014, 23:04 UTC
- Message-ID
- <20140514230424.GC9218@google.com>
- In-Reply-To
- <1398976662-6962-7-git-send-email-sahlberg@google.com>
Ronnie Sahlberg wrote:
> Change update_ref_write to also update an error strbuf on failure. > This makes the error available to ref_transaction_commit callers if the > transaction failed due to update_ref_sha1/write_ref_sha1 failures.
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>