Subject: Re: [PATCH v8 16/44] sequencer.c: use ref transactions for all ref updates

From: Jonathan Nieder <[email-masked]>
Date: Thu, 15 May 2014 14:53:07 -0700

Ronnie Sahlberg wrote:

> --- a/sequencer.c
> +++ b/sequencer.c
> @@ -272,23 +272,31 @@ static int fast_forward_to(const unsigned char *to, const unsigned char *from,
[...]
> +		error(_("HEAD: Could not fast-forward: %s\n"), err.buf);

As with 'git commit', since err.buf already mentions that HEAD was the
problematic ref I think it has enough information for the user to
diagnose the problem and figure out what to do next.

		error("%s", err.buf);