Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
completion: simplify tests using test_completion_long()
[gitweb.git]
/
git-gui
/
lib
/
status_bar.tcl
diff --git
a/git-gui/lib/status_bar.tcl
b/git-gui/lib/status_bar.tcl
index 5fe3aad382f43a30a099a106f7d51f136eda0652..02111a1742f92eff7efc6b8e54323919029867bc 100644
(file)
--- a/
git-gui/lib/status_bar.tcl
+++ b/
git-gui/lib/status_bar.tcl
@@
-39,6
+39,7
@@
method _oneline_pack {} {
}
constructor two_line {path} {
+ global NS
set w $path
set w_l $w.l
set w_c $w.c
@@
-76,6
+77,7
@@
method start {msg uds} {
method update {have total} {
set pdone 0
+ set cdone 0
if {$total > 0} {
set pdone [expr {100 * $have / $total}]
set cdone [expr {[winfo width $w_c] * $have / $total}]