Re: [RFC/PATCH 4/4] replace: add --edit option
On Thu, Mar 06, 2014 at 08:57:58PM -0500, Eric Sunshine wrote:
Show 10 quoted lines
> > + if (strbuf_read(&result, cmd.out, 41) < 0)
> > + die_errno("unable to read from mktree");
> > + close(cmd.out);
> > +
> > + if (finish_command(&cmd))
> > + die("mktree reported failure");
> > + if (get_sha1_hex(result.buf, sha1) < 0)
> > + die("mktree did not return an object name");
>
> strbuf_release(&result);Thanks for catching. I'll include it in any re-roll.
-Peff