author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 9 Jul 2007 02:48:19 +0000 (22:48 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 9 Jul 2007 02:48:19 +0000 (22:48 -0400) | ||
commit | b79223064e163aa0ce7f5b63d12158e87f8729e4 | |
tree | 7c8050f7e57696dd52d2780e48f3ddf81a9b1e9e | tree | snapshot |
parent | 51530d1722b0a4cccc630043fc4b46d075bf8558 | commit | diff |
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>
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 | diff | blob | history | |
lib/status_bar.tcl | diff | blob | history |