Re: [PATCH 03/11] pkt-line: create gentle packet_read_line functions

2016-09-27 Thread Kevin Wern
On Fri, Sep 16, 2016 at 03:17:28PM -0700, Junio C Hamano wrote: > Kevin Wern writes: > > > /* And complain if we didn't get enough bytes to satisfy the read. */ > > if (ret < size) { > > - if (options & PACKET_READ_GENTLE_ON_EOF) > > + if (options & (PACKET_READ_GENTLE

Re: [PATCH 03/11] pkt-line: create gentle packet_read_line functions

2016-09-16 Thread Junio C Hamano
Kevin Wern writes: > /* And complain if we didn't get enough bytes to satisfy the read. */ > if (ret < size) { > - if (options & PACKET_READ_GENTLE_ON_EOF) > + if (options & (PACKET_READ_GENTLE_ON_EOF | > PACKET_READ_GENTLE_ALL)) > return