summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-04 18:47:37 -0500
committerJeff Carr <[email protected]>2025-09-04 18:47:37 -0500
commit3a5e6ae51cea67869d9c62caf68a697cb8ed1d6a (patch)
tree671dd6f2a6f8ad331f33fcfc34be469a66289123
parent78e883a1066904b89658cd48cba4facb8dd18eac (diff)
testing Width
-rw-r--r--doGui.go4
-rw-r--r--helperPatches.go5
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
}
}