git-gui: Completely remove my Tools/Migrate hack
[gitweb.git] / lib / commit.tcl
index 75b13a0d99c03634026b6cf56233f36ce951faa2..6b86f9808e98c04f99458b93bbae92732a06cc8f 100644 (file)
@@ -379,6 +379,10 @@ A rescan will be automatically started now.
        $ui_comm delete 0.0 end
        $ui_comm edit reset
        $ui_comm edit modified false
+       if {$::GITGUI_BCK_exists} {
+               catch {file delete [gitdir GITGUI_BCK]}
+               set $::GITGUI_BCK_exists 0
+       }
 
        if {[is_enabled singlecommit]} do_quit