Re: [PATCH 3/3] cat-file: handle streaming failures consistently
- From
Jeff King <peff@peff.net>
- Date
- Oct 31, 2018, 20:29 UTC
- Message-ID
- <20181031202930.GB13021@sigill.intra.peff.net>
- In-Reply-To
- <20181031173859.GA717@flurp.local>
On Wed, Oct 31, 2018 at 01:38:59PM -0400, Eric Sunshine wrote:
Show 13 quoted lines
> On Tue, Oct 30, 2018 at 07:23:38PM -0400, Jeff King wrote: > > There are three ways to convince cat-file to stream a blob: > > > > - cat-file -p $blob > > > > - cat-file blob $blob > > > > - echo $batch | cat-file --batch > > > > In the first two, we simply exit with the error code of > > streaw_blob_to_fd(). That means that an error will cause us > > Your "m" got confused and ended up upside-down.
Heh. I'm not sure how I managed that. They're not exactly next to each other on a qwerty keyboard.
-Peff