Code

git-gui: Remove usernames from absolute SSH urls during merging
[git.git] / lib / commit.tcl
index 75b13a0d99c03634026b6cf56233f36ce951faa2..1f5c2c3d44684459fa9b9692ab85f54ff858d83b 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