testing Width
This commit is contained in:
parent
78e883a106
commit
3a5e6ae51c
4
doGui.go
4
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)
|
||||
})
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue