Improve the sideband progress scaper to be more accurate
commitc6894107449c715c3dc42e148206d054abecbc60
authorShawn O. Pearce <spearce@spearce.org>
Wed, 31 Dec 2008 19:04:01 +0000 (31 11:04 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 10 Jan 2009 20:11:34 +0000 (10 21:11 +0100)
tree650f615120a2fb37be87b343880cbdec85a478ad
parent60217eea6b3fa135225d76a8a6e3a239ca75c3a5
Improve the sideband progress scaper to be more accurate

By matching only whole lines we should be able to improve the
progress scaper so we avoid ugly output like we had been seeing:

  EGIT.contrib/jgit clone git://repo.or.cz/libgit2.git LIBGIT2
  Initialized empty Git repository in /home/me/SW/LIBGIT2/.git
  Counting objects:       547
  Compressing objects:    100% (192/192)
  ts:                     100% (192/192)
  Compressing objects:    100% (192/192)
  ng objects:             100% (192/192)

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/transport/SideBandInputStream.java