Re: [PATCH v8 15/44] commit.c: use ref transactions for updates
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- May 15, 2014, 21:21 UTC
- Message-ID
- <20140515212130.GM26471@google.com>
- In-Reply-To
- <1400174999-26786-16-git-send-email-sahlberg@google.com>
Ronnie Sahlberg wrote:
> Change commit.c to use ref transactions for all ref updates. > Make sure we pass a NULL pointer to ref_transaction_update if have_old > is false.
Once ref_transaction_begin() and ref_transaction_update() set err, this will always have a reasonable message to print in die().
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>