summaryrefslogtreecommitdiff
path: root/lib/transport.tcl
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-07-06 03:16:13 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-07-09 01:12:57 (GMT)
commit699d5601f59938d62ec2506f319c25a656a403da (patch)
treed7a55162fe267f52e46c173c2bce6acbe5577e4b /lib/transport.tcl
parent311e02a4a5c7b82c996214f06d58e2b51b3ecc22 (diff)
downloadgit-699d5601f59938d62ec2506f319c25a656a403da.zip
git-699d5601f59938d62ec2506f319c25a656a403da.tar.gz
git-699d5601f59938d62ec2506f319c25a656a403da.tar.bz2
git-gui: Refactor our ui_status_value update technique
I'm really starting to dislike global variables. The ui_status_value global varible is just one of those that seems to appear in a lot of code and in many cases we didn't even declare it "global" within the proc that updates it so we haven't always been getting all of the updates we expected to see. This change introduces two new global procs: ui_status $msg; # Sets the status bar to show $msg. ui_ready; # Changes the status bar to show "Ready." The second (special) form is used because we often update the area with this message once we are done processing a block of work and want the user to know we have completed it. I'm not fixing the cases that appear in lib/branch.tcl right now as I'm actually in the middle of a huge refactoring of that code to support making a detached HEAD checkout. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/transport.tcl')
0 files changed, 0 insertions, 0 deletions