summaryrefslogtreecommitdiff
path: root/repoNew.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-13 05:33:11 -0500
committerJeff Carr <[email protected]>2025-09-13 05:33:11 -0500
commit0f895e83e62749bb1d716033f5f300d9d1c548ac (patch)
treef0d29c4b96f998469cefe140006c4e0a20a361aa /repoNew.go
parentce4af38e8b7f05a6d8b48bc957091de0b0b0a9e7 (diff)
use config GO library
Diffstat (limited to 'repoNew.go')
-rw-r--r--repoNew.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/repoNew.go b/repoNew.go
index db21181..2b55cd3 100644
--- a/repoNew.go
+++ b/repoNew.go
@@ -9,6 +9,7 @@ import (
"regexp"
"strings"
+ "go.wit.com/lib/config"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -58,7 +59,7 @@ func (f *Forge) AddNamespaceDir(ns string, fullpath string) (*gitpb.Repo, error)
if f.Config.IsReadOnly(repo.GetGoPath()) {
repo.ReadOnly = true
}
- f.configSave = true
+ config.SetChanged("repos", true)
return repo, nil
}
@@ -170,6 +171,7 @@ func (f *Forge) VerifyBranchNames(repo *gitpb.Repo) {
repo.SetUserBranchName(uname)
}
}
+ log.Info("VerifyBranchNames", repo.GetMasterBranchName(), repo.GetDevelBranchName(), repo.GetUserBranchName())
}
// what name should be used for the user branch?