diff options
| author | Jeff Carr <[email protected]> | 2025-09-04 08:28:09 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-04 08:28:09 -0500 |
| commit | 680069d4ca65c75ce1d7d462d98ce7e9e4c8bfdc (patch) | |
| tree | c45dfb05f2282fc039318ac7395d929c1d632e8f /windowPatches.go | |
| parent | b02060493197150ef20776cbf920abb81a3844b1 (diff) | |
a breath of fresh air. finally can remove all the old code.
Diffstat (limited to 'windowPatches.go')
| -rw-r--r-- | windowPatches.go | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/windowPatches.go b/windowPatches.go index d68d246..f70ea63 100644 --- a/windowPatches.go +++ b/windowPatches.go @@ -58,23 +58,25 @@ func makePatchesWin(patches *forgepb.Patches) *stdPatchTableWin { grid.NextRow() grid.NewButton("show all", func() { - if me.psets == nil { - log.Info("No Patchsets loaded") - return - } - notdone := new(forgepb.Patches) + /* + if me.psets == nil { + log.Info("No Patchsets loaded") + return + } + notdone := new(forgepb.Patches) - all := me.psets.All() - for all.Scan() { - pset := all.Next() - AddNotDonePatches(notdone, pset, true) - } + all := me.psets.All() + for all.Scan() { + pset := all.Next() + AddNotDonePatches(notdone, pset, true) + } - for patch := range notdone.IterAll() { - comment := cleanSubject(patch.Comment) - log.Info("new patch:", patch.NewHash, "commithash:", patch.CommitHash, patch.Namespace, comment) - } - dwin.doPatchesTable(notdone) + for patch := range notdone.IterAll() { + comment := cleanSubject(patch.Comment) + log.Info("new patch:", patch.NewHash, "commithash:", patch.CommitHash, patch.Namespace, comment) + } + dwin.doPatchesTable(notdone) + */ }) grid.NewButton("Update", func() { |
