@matheusbsbs / matheus-bagliano / commits / 4570b7e9d7
Fork 0

gitk: Use the status window for other functions

This sets the status window when reading commits, searching through commits, cherry-picking or checking out a head. Signed-off-by: Paul Mackerras <paulus@samba.org>

Paul Mackerras committed Oct 23, 2007 at 21:19 UTC 4570b7e9d716e939287dea8193b7d2fb82e9f192
1 file changed +6 -6
gitk
+6 -6
@@ -111,7 +111,7 @@ proc start_rev_list {view} {
111 fconfigure $fd -encoding $tclencoding
112 }
113 filerun $fd [list getcommitlines $fd $view]
114 - nowbusy $view
114 + nowbusy $view "Reading"
115 if {$view == $curview} {
116 set progressdirn 1
117 set progresscoords {0 0}
@@ -4264,7 +4264,7 @@ proc dofind {{rev 0}} {
4264 set findstartline $selectedline
4265 }
4266 set findcurline $findstartline
4267 - nowbusy finding
4267 + nowbusy finding "Searching"
4268 if {$gdttype ne "containing:" && ![info exists filehighlight]} {
4269 after cancel do_file_hl $fh_serial
4270 do_file_hl $fh_serial
@@ -4303,7 +4303,7 @@ proc findnext {restart} {
4303 } else {
4304 set find_dirn 1
4305 run findmore
4306 - nowbusy finding
4306 + nowbusy finding "Searching"
4307 }
4308 }
4309
@@ -4316,7 +4316,7 @@ proc findprev {} {
4316 } else {
4317 set find_dirn -1
4318 run findmorerev
4319 - nowbusy finding
4319 + nowbusy finding "Searching"
4320 }
4321 }
4322
@@ -6381,7 +6381,7 @@ proc cherrypick {} {
6381 included in branch $mainhead -- really re-apply it?"]
6382 if {!$ok} return
6383 }
6384 - nowbusy cherrypick
6384 + nowbusy cherrypick "Cherry-picking"
6385 update
6386 # Unfortunately git-cherry-pick writes stuff to stderr even when
6387 # no error occurs, and exec takes that as an indication of error...
@@ -6505,7 +6505,7 @@ proc cobranch {} {
6505
6506 # check the tree is clean first??
6507 set oldmainhead $mainhead
6508 - nowbusy checkout
6508 + nowbusy checkout "Checking out"
6509 update
6510 dohidelocalchanges
6511 if {[catch {