summaryrefslogtreecommitdiff
path: root/lib/branch_create.tcl
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-07-05 23:16:13 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-07-08 21:12:57 -0400
commit699d5601f59938d62ec2506f319c25a656a403da (patch)
treed7a55162fe267f52e46c173c2bce6acbe5577e4b /lib/branch_create.tcl
parentgit-gui: Better handling of detached HEAD (diff)
downloadtgif-699d5601f59938d62ec2506f319c25a656a403da.tar.xz
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/branch_create.tcl')
0 files changed, 0 insertions, 0 deletions