Re: [PATCH v20 33/48] walker.c: use ref transaction for ref updates

2014-07-14 Thread Ronnie Sahlberg
On Tue, Jul 8, 2014 at 6:33 AM, Michael Haggerty wrote: > On 06/20/2014 04:43 PM, Ronnie Sahlberg wrote: >> Switch to using ref transactions in walker_fetch(). As part of the >> refactoring >> to use ref transactions we also fix a potential memory leak where in the >> original code if write_ref_s

Re: [PATCH v20 33/48] walker.c: use ref transaction for ref updates

2014-07-08 Thread Michael Haggerty
On 06/20/2014 04:43 PM, Ronnie Sahlberg wrote: > Switch to using ref transactions in walker_fetch(). As part of the refactoring > to use ref transactions we also fix a potential memory leak where in the > original code if write_ref_sha1() would fail we would end up returning from > the function wit