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 } }