git-gui: Handle progress bars from newer gits
commitbea6878be2fb73e50407f93f2bcd71b961510c19
authorShawn O. Pearce <spearce@spearce.org>
Sat, 20 Oct 2007 18:16:15 +0000 (20 14:16 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 21 Oct 2007 00:36:27 +0000 (20 20:36 -0400)
treebf5fdfe2f52e7b704badb02801cac5faa4f89388
parent8af52d7a83a78c5f3a60d5bd5099a5073655339a
git-gui: Handle progress bars from newer gits

Post Git 1.5.3 a new style progress bar has been introduced that
uses only one line rather than two.  The formatting of the completed
and total section is also slightly different so we must adjust our
regexp to match.  Unfortunately both styles are in active use by
different versions of Git so we need to look for both.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/status_bar.tcl