Re: [RFC/PATCH 4/4] replace: add --edit option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]