git-gui: Correctly handle CR vs. LF within the console of fetch.
commitee3dc9354d23b1262fb9c71c648435e0ccf01d7e
authorShawn O. Pearce <spearce@spearce.org>
Tue, 7 Nov 2006 07:18:18 +0000 (7 02:18 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 7 Nov 2006 08:05:18 +0000 (7 03:05 -0500)
tree7ec3bde2dbfb8aa40fae64b2c13303c51af7b2bc
parent661448922fd55b907449962d35d3fdb92397ce9d
git-gui: Correctly handle CR vs. LF within the console of fetch.

Because the remote end is likely to send us progress meters by
resetting each line with a CR (and no LF) we should display those
meters by replacing the last line of text with the next line,
just like a normal xterm would do.

This makes the output of fetch look about the same as if we ran it
from within an xterm.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui