From 3a5e6ae51cea67869d9c62caf68a697cb8ed1d6a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 4 Sep 2025 18:47:37 -0500 Subject: [PATCH] testing Width --- doGui.go | 4 ---- helperPatches.go | 5 ++--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/doGui.go b/doGui.go index be3200a..c25fc77 100644 --- a/doGui.go +++ b/doGui.go @@ -190,10 +190,6 @@ func drawWindow(win *gadgets.GenericWindow) { // AddNotDonePatches(notdone, pset, false) } - for patch := range notdone.IterAll() { - comment := cleanSubject(patch.Comment) - log.Info("new patch:", patch.NewHash, "commithash:", patch.CommitHash, patch.Namespace, comment) - } patchesWin = makePatchesWin(notdone) }) diff --git a/helperPatches.go b/helperPatches.go index ba0f37f..300577e 100644 --- a/helperPatches.go +++ b/helperPatches.go @@ -228,11 +228,10 @@ func AddAllPatches(notdone *forgepb.Patches, pset *forgepb.Patchset, full bool) if found := notdone.FindByCommitHash(patch.CommitHash); found != nil { log.Info("duplicate commit hash", patch.Namespace, "patch:", patch.NewHash, "commithash:", patch.CommitHash, comment) - continue + // continue } - newhash, _ := findCommitByHash(patch.StartHash, comment) - log.Info("adding patch:", patch.Namespace, patch.CommitHash, comment, newhash) + // log.Info("adding patch:", patch.Namespace, patch.CommitHash, comment, newhash) notdone.AppendByCommitHash(patch) // double check to ensure the commit hash isn't added twice } }