summaryrefslogtreecommitdiff
path: root/doNormal.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-31 13:27:39 -0500
committerJeff Carr <[email protected]>2025-08-31 13:27:39 -0500
commit731a4d9da873c94f6da6673d1ebc6fc8c6223d76 (patch)
tree2ee63d05f0decd811ba598f381d9333bca0acdf5 /doNormal.go
parentc4252d21031ed432405be6a4f008831732068101 (diff)
better output with 'forge normal'
Diffstat (limited to 'doNormal.go')
-rw-r--r--doNormal.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/doNormal.go b/doNormal.go
index 0382be7..7a00a16 100644
--- a/doNormal.go
+++ b/doNormal.go
@@ -30,7 +30,7 @@ func checkNormalRepoState(repo *gitpb.Repo) error {
if repo.GetMasterBranchName() == "" {
me.forge.VerifyBranchNames(repo)
configSave = true
- log.Info("ABNORMAL: master branch name was blank in", repo.GetFullPath())
+ // log.Info("ABNORMAL: master branch name was blank in", repo.GetFullPath())
}
if repo.GetMasterBranchName() == "" {
return log.Errorf("master branch name blank")
@@ -45,6 +45,7 @@ func checkNormalRepoState(repo *gitpb.Repo) error {
return err
}
if repo.GetCurrentBranchName() != repo.GetUserBranchName() {
+ configSave = true
if err := repo.CheckoutUser(); err != nil {
return err
}