projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16fccd7
)
git-gui: Rename quitting global to is_quitting.
author
Shawn O. Pearce
<spearce@spearce.org>
Sun, 12 Nov 2006 07:27:28 +0000
(
02:27
-0500)
committer
Shawn O. Pearce
<spearce@spearce.org>
Sun, 12 Nov 2006 07:27:28 +0000
(
02:27
-0500)
This is a boolean value; naming it as such is a good thing.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui
patch
|
blob
|
history
diff --git
a/git-gui
b/git-gui
index 040581e8296ad262ed4abfe383b729a7cfb17830..73227d594af3c1ecc2fb3c58eb9c67b30865dfc2 100755
(executable)
--- a/
git-gui
+++ b/
git-gui
@@
-1532,13
+1532,13
@@
proc do_repack {} {
console_exec $w $cmd
}
-set quitting 0
+set
is_
quitting 0
proc do_quit {} {
- global gitdir ui_comm quitting
+ global gitdir ui_comm
is_
quitting
- if {$quitting} return
- set quitting 1
+ if {$
is_
quitting} return
+ set
is_
quitting 1
set save [file join $gitdir GITGUI_MSG]
set msg [string trim [$ui_comm get 0.0 end]]