author | Nicolas Pitre <nico@cam.org> | |
Wed, 3 Sep 2008 19:13:42 +0000 (15:13 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 3 Sep 2008 21:51:10 +0000 (14:51 -0700) | ||
commit | 6b9c42b4daabe3d0471d9f90d2ae472c9d994e1c | |
tree | 75cc31200dc628dea591ea82e354578dcc1e5112 | tree | snapshot |
parent | bea005e21bf9f4f19d5e2afe538a5ba9123bdbdc | commit | diff |
improve handling of sideband message display
Currently the code looks for line break characters in order to prepend
"remote: " to every line received as many lines can be sent in a single
chunk. However the opposite might happen too, i.e. a single message
line split amongst multiple chunks. This patch adds support for the
later case to avoid displays like:
remote: Compressing objeremote: cts: 100% (313/313), done.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Currently the code looks for line break characters in order to prepend
"remote: " to every line received as many lines can be sent in a single
chunk. However the opposite might happen too, i.e. a single message
line split amongst multiple chunks. This patch adds support for the
later case to avoid displays like:
remote: Compressing objeremote: cts: 100% (313/313), done.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sideband.c | diff | blob | history |