summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--goSrcScan.go1
-rw-r--r--repoNew.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/goSrcScan.go b/goSrcScan.go
index 2eac3e6..8a07842 100644
--- a/goSrcScan.go
+++ b/goSrcScan.go
@@ -197,5 +197,6 @@ func (f *Forge) ReAdd(repo *gitpb.Repo) (*gitpb.Repo, error) {
log.Info("ReAdd() error", fullpath, err)
return nil, err
}
+ f.configSave = true
return repo, err
}
diff --git a/repoNew.go b/repoNew.go
index 14c8106..15f4d9d 100644
--- a/repoNew.go
+++ b/repoNew.go
@@ -58,6 +58,7 @@ func (f *Forge) AddNamespaceDir(ns string, fullpath string) (*gitpb.Repo, error)
if f.Config.IsReadOnly(repo.GetGoPath()) {
repo.ReadOnly = true
}
+ f.configSave = true
return repo, nil
}