git-gui: Show a progress meter for checking out files
commitb79223064e163aa0ce7f5b63d12158e87f8729e4
authorShawn O. Pearce <spearce@spearce.org>
Mon, 9 Jul 2007 02:48:19 +0000 (8 22:48 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 9 Jul 2007 02:48:19 +0000 (8 22:48 -0400)
tree7c8050f7e57696dd52d2780e48f3ddf81a9b1e9e
parent51530d1722b0a4cccc630043fc4b46d075bf8558
git-gui: Show a progress meter for checking out files

Sometimes switching between branches can take more than a second or
two, in which case `git checkout` would normally have shown a small
progress meter to the user on the terminal to let them know that we
are in fact working, and give them a reasonable idea of when we may
finish.

We now do obtain that progress meter from read-tree -v and include
it in our main window's status bar.  This allows users to see how
many files we have checked out, how many remain, and what percentage
of the operation is completed.  It should help to keep users from
getting bored during a large checkout operation.

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