* https://github.com/j6t/git-gui: git-gui: fix inability to quit after closing another instance git-gui: sv.po: Update Swedish translation (576t0f0u) git-gui: note the new maintainer Makefile(s): do not enforce "all indents must be done with tab" Makefile(s): avoid recipe prefix in conditional statements doc: switch links to https doc: update links to current pages git-gui: po: fix typo in French "aperçu"
This commit is contained in:
@ -2301,7 +2301,7 @@ proc do_quit {{rc {1}}} {
|
||||
#
|
||||
set save [gitdir GITGUI_MSG]
|
||||
if {$GITGUI_BCK_exists && ![$ui_comm edit modified]} {
|
||||
file rename -force [gitdir GITGUI_BCK] $save
|
||||
catch { file rename -force [gitdir GITGUI_BCK] $save }
|
||||
set GITGUI_BCK_exists 0
|
||||
} elseif {[$ui_comm edit modified]} {
|
||||
set msg [string trim [$ui_comm get 0.0 end]]
|
||||
|
Reference in New Issue
Block a user