summaryrefslogtreecommitdiff
path: root/doCommit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-13 01:06:55 -0500
committerJeff Carr <[email protected]>2025-09-13 01:06:55 -0500
commitda0fc653aec4967fb30bbe6c5d635c018c8a9c39 (patch)
treeed5b8d31fc1b82bdb28d438b8a5e9f9144531afc /doCommit.go
parent405ddb69941983798c99bc6d29f72d68d7ca02a7 (diff)
checking if commit() triggers save()
Diffstat (limited to 'doCommit.go')
-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("")