cope with multiple line breaks within sideband progress messages
authorNicolas Pitre <nico@cam.org>
Wed, 17 Oct 2007 01:55:46 +0000 (21:55 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 17 Oct 2007 06:54:56 +0000 (02:54 -0400)
commited1902ef5c6a30942def50809b52e41fbdcdf13f
treea3efcb9b40ad7dfd16082abff6dc7bb3cab66911
parent42e18fbf5f94dd6bd303bf702e030a29fa39d6c4
cope with multiple line breaks within sideband progress messages

A single sideband packet may sometimes contain multiple lines of progress
messages, but we prepend "remote: " only to the whole buffer which creates
a messed up display in that case.  Make sure that the "remote: " prefix
is applied to every remote lines.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
sideband.c