diff options
| author | Jeff Carr <[email protected]> | 2025-09-06 19:21:00 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-06 19:21:00 -0500 |
| commit | d99eb81385a293ccf9bf8f6e902a3a7798bf36a2 (patch) | |
| tree | 7b6b068a04e2e2d5917abdde16658d3f0714856d /doPatch.go | |
| parent | 1087b39f9ccedd3042f2f8d884b281b535cbb93c (diff) | |
start checking the "normal" state every time
Diffstat (limited to 'doPatch.go')
| -rw-r--r-- | doPatch.go | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -12,7 +12,11 @@ import ( func doPatchInit() { if me.forge.Patchsets != nil { - log.Info("IGNORE: patches already initalized") + if me.forge.Patchsets.Len() == 0 { + // log.Info("IGNORE: patches are empty") + } else { + log.Info("IGNORE: patches already initalized len =", me.forge.Patchsets.Len()) + } } if err := me.forge.LoadPatchsets(); err != nil { log.Info("patches failed to open", err) @@ -82,6 +86,10 @@ func doPatch() error { me.forge.Patchsets.PrintTable() // return doPatchList() applied := findApplied() + if applied.Len() == 0 { + log.Info("no patches have to appled to the devel branch yet") + return nil + } // for patch := range applied.IterAll() { // log.Info("SEND APPLIED: newhash:", patch.NewHash, "commithash:", patch.CommitHash, "patch", patch.Namespace) // } |
