[PATCHv2 03/10] pkt-line: clean up gentle reading function

2013-02-18 Thread Jeff King
Originally we had a single function for reading packetized data: packet_read_line. Commit 46284dd grew a more gentle form that would return an error instead of dying upon reading a truncated input stream. However: 1. The two functions were called packet_read and packet_read_line, with no

Re: [PATCHv2 03/10] pkt-line: clean up gentle reading function

2013-02-18 Thread Jonathan Nieder
Jeff King wrote: Originally we had a single function for reading packetized data: packet_read_line. Commit 46284dd grew a more gentle form that would return an error instead of dying upon reading a truncated input stream. However: In other words: Based on the names of two functions