From: Jonathan Nieder Date: Thu, 15 May 2014 16:53:22 GMT Subject: Re: [PATCH v6 11/42] tag.c: use ref transactions when doing updates Message-ID: <20140515165322.GB27279@google.com> In-Reply-To: Ronnie Sahlberg wrote: > 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