@matheusbsbs / matheus-bagliano / commits / b5834d70fe
Fork 0

git-gui: Rename quitting global to is_quitting.

This is a boolean value; naming it as such is a good thing. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Shawn O. Pearce committed Nov 12, 2006 at 02:27 UTC b5834d70fe970ccf955378d4f6e60a51a94bbaaf
1 file changed +4 -4
git-gui
+4 -4
@@ -1532,13 +1532,13 @@ proc do_repack {} {
1532 console_exec $w $cmd
1533 }
1534
1535 -set quitting 0
1535 +set is_quitting 0
1536
1537 proc do_quit {} {
1538 - global gitdir ui_comm quitting
1538 + global gitdir ui_comm is_quitting
1539
1540 - if {$quitting} return
1541 - set quitting 1
1540 + if {$is_quitting} return
1541 + set is_quitting 1
1542
1543 set save [file join $gitdir GITGUI_MSG]
1544 set msg [string trim [$ui_comm get 0.0 end]]