From: Jiang Xin <zhiyou.jx@xxxxxxxxxxxxxxx> Sideband demultiplexer fixes. Range-diff v2...v3 1: fd6d61893d ! 1: 68ac3ea711 pkt-line: do not chomp newlines for sideband messages @@ Commit message to prevent mangling newline characters in sideband messages. Helped-by: Jonathan Tan <jonathantanmy@xxxxxxxxxx> + Helped-by: Oswald Buddenhagen <oswald.buddenhagen@xxxxxx> Signed-off-by: Jiang Xin <zhiyou.jx@xxxxxxxxxxxxxxx> ## pkt-line.c ## @@ pkt-line.c: enum packet_read_status packet_read_with_status(int fd, char **src_b + len--; + break; + case 2: -+ /* fallthrough */ + case 3: + /* + * Do not chomp newline for progress and error --- Jiang Xin (3): test-pkt-line: add option parser for unpack-sideband pkt-line: memorize sideband fragment in reader pkt-line: do not chomp newlines for sideband messages pkt-line.c | 36 +++++++++++++++++++++---- pkt-line.h | 4 +++ t/helper/test-pkt-line.c | 58 ++++++++++++++++++++++++++++++++++++---- t/t0070-fundamental.sh | 58 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 146 insertions(+), 10 deletions(-) -- 2.40.1.50.gf560bcc116.dirty