Re: [PATCH v6 05/42] update-ref.c: log transaction error from the update_ref

2014-05-15 Thread Ronnie Sahlberg
On Wed, May 14, 2014 at 3:08 PM, Jonathan Nieder wrote: > Hi, > > Ronnie Sahlberg wrote: > >> --- a/builtin/update-ref.c >> +++ b/builtin/update-ref.c >> @@ -342,6 +342,7 @@ int cmd_update_ref(int argc, const char **argv, const >> char *prefix) > [...] >> @@ -359,17 +360,16 @@ int cmd_update_ref(

Re: [PATCH v6 05/42] update-ref.c: log transaction error from the update_ref

2014-05-14 Thread Jonathan Nieder
Hi, Ronnie Sahlberg wrote: > --- a/builtin/update-ref.c > +++ b/builtin/update-ref.c > @@ -342,6 +342,7 @@ int cmd_update_ref(int argc, const char **argv, const > char *prefix) [...] > @@ -359,17 +360,16 @@ int cmd_update_ref(int argc, const char **argv, const > char *prefix) [...] >

[PATCH v6 05/42] update-ref.c: log transaction error from the update_ref

2014-05-01 Thread Ronnie Sahlberg
Call ref_transaction_commit with QUIET_ON_ERR and use the strbuf that is returned to print a log message if/after the transaction fails. Signed-off-by: Ronnie Sahlberg --- builtin/update-ref.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/builtin/update-ref.c b/b