diff --git a/lib/commit.tcl b/lib/commit.tcl
index 75b13a0d99c03634026b6cf56233f36ce951faa2..1f5c2c3d44684459fa9b9692ab85f54ff858d83b 100644 (file)
--- a/lib/commit.tcl
+++ b/lib/commit.tcl
$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