Re: [PATCH v8 14/44] replace.c: use the ref transaction functions for updates

2014-05-15 Thread Jonathan Nieder
Ronnie Sahlberg wrote: --- a/builtin/replace.c +++ b/builtin/replace.c [...] @@ -156,11 +157,12 @@ static int replace_object_sha1(const char *object_ref, else if (!force) die(replace ref '%s' already exists, ref); - lock = lock_any_ref_for_update(ref, prev, 0,

Re: [PATCH v8 14/44] replace.c: use the ref transaction functions for updates

2014-05-15 Thread Ronnie Sahlberg
On Thu, May 15, 2014 at 2:18 PM, Jonathan Nieder jrnie...@gmail.com wrote: Ronnie Sahlberg wrote: --- a/builtin/replace.c +++ b/builtin/replace.c [...] @@ -156,11 +157,12 @@ static int replace_object_sha1(const char *object_ref, else if (!force) die(replace ref '%s'