Re: [PATCH v6 11/42] tag.c: use ref transactions when doing updates
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- May 15, 2014, 16:53 UTC
- Message-ID
- <20140515165322.GB27279@google.com>
- In-Reply-To
- <CAL=YDWk8uZzJyex0YoBx81KhJZjS99qW1nV2AOe=rZhgoYRAcg@mail.gmail.com>
Ronnie Sahlberg wrote:
Show 5 quoted lines
> Instead of the suggestions above, would you accept an alternative > approach where I would > add an err argument to ref_transaction_begin() instead? > > For a hypothetical mysql backend, this could then do something like :
[...]
> fatal: refs/heads/master: cannot update the ref: failed to connect to mysql database ...
Yes, sounds like a good thing to do.
Thanks, Jonathan