summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go18
1 files changed, 4 insertions, 14 deletions
diff --git a/init.go b/init.go
index 3806352..93104ee 100644
--- a/init.go
+++ b/init.go
@@ -96,6 +96,9 @@ func (f *Forge) InitPB() {
f.hasFullScan = true
}
+ // init the Patchsets
+ f.Patchsets = NewPatchsets()
+
// todo: play with these / determine good values based on user's machine
f.rillX = 10
f.rillY = 20
@@ -139,20 +142,7 @@ func RawInitPB() *Forge {
}
func (f *Forge) RawInitPB() {
- f.setenv()
-
- // load the ~/.config/forge/ config
- f.Config = new(ForgeConfigs)
- if err := f.Config.ConfigLoad(f.configDir); err != nil {
- log.Log(WARN, "forgepb.ConfigLoad() failed", err)
- }
-
- f.Repos = gitpb.NewRepos()
- f.Repos.ConfigLoad()
-
- // todo: play with these / determine good values based on user's machine
- f.rillX = 10
- f.rillY = 20
+ f.InitPB()
}
// the first thing done is process any ENV settings