summaryrefslogtreecommitdiff
path: root/doNormal.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-04 20:38:30 -0500
committerJeff Carr <[email protected]>2025-10-04 20:38:30 -0500
commit2bf54fd5a2ba9aa1bbf900dc3ca07053a15dfb6a (patch)
tree54ade39680438548ea7fdba774760caac1e0a6ce /doNormal.go
parent6c645cb22ab96a8154053071360f4e45523733ce (diff)
redo mode handlingv0.25.52
Diffstat (limited to 'doNormal.go')
-rw-r--r--doNormal.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doNormal.go b/doNormal.go
index 9075b82..242a7be 100644
--- a/doNormal.go
+++ b/doNormal.go
@@ -35,7 +35,7 @@ func doNormal() bool {
}
repo := me.forge.Repos.FindByFullPath(path)
if stat.Err == ErrorLocalDevelBranch {
- if argv.Normal.Fix != nil {
+ if argv.Fix {
bname := repo.GetDevelBranchName()
s := fmt.Sprintf("repair the %s branch on %s", bname, repo.FullPath)
if fhelp.QuestionUser(s) {
@@ -47,7 +47,7 @@ func doNormal() bool {
}
}
if stat.Err == ErrorLocalMasterBranch {
- if argv.Normal.Fix != nil {
+ if argv.Fix {
bname := repo.GetMasterBranchName()
s := fmt.Sprintf("repair the %s branch on %s", bname, repo.FullPath)
if fhelp.QuestionUser(s) {