summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doCommit.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/doCommit.go b/doCommit.go
index 3f6d340..d462e4e 100644
--- a/doCommit.go
+++ b/doCommit.go
@@ -6,6 +6,7 @@ package main
import (
"os"
+ "go.wit.com/lib/config"
"go.wit.com/lib/gui/shell"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
@@ -21,11 +22,10 @@ func doCommit() error {
badExit(err)
}
newpatches = true
- }
- if !argv.Commit.Submit {
- okExit("")
+ repo.CheckDirty()
}
if newpatches {
+ config.SetChanged("repos", true)
return doPatchSubmit()
}
okExit("")