On Thu, Mar 06, 2014 at 08:57:58PM -0500, Eric Sunshine wrote:
> > + 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html