From 42db232c6acc9712517e2802a8c0161e2374ab1c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 7 Nov 2024 02:16:18 -0600 Subject: [PATCH] rm oldcomment --- getPatches.go | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/getPatches.go b/getPatches.go index c6ec681..44f662b 100644 --- a/getPatches.go +++ b/getPatches.go @@ -16,33 +16,12 @@ type Patch struct { RS *repostatus.RepoStatus } -/* move all this to repolist and gowit repos -p, allp := s.GetPatches() -if s.allp == nil { - s.allp = make([]*patch, 0, 0) - s.allp = append(s.allp, allp...) -} -if dirty == 0 { - s.totalPatchesOL.SetText(strconv.Itoa(p) + " patches") - s.reason.Enable() - // force the user to submit a reason to enable the submit button - // s.submitB.Enable() -} else { - s.totalPatchesOL.SetText(strconv.Itoa(p) + " patches + ? dirty") -} -*/ - // move all this to repolist and gowit repos func (repo *RepoRow) GetPatches(oldname string, newname string) (int, []*Patch) { var patchcount int patches := make([]*Patch, 0, 0) - // git log --oneline devel..jcarr - // userv := repo.Status.GetUserVersion() - // develv := repo.Status.GetDevelVersion() - // usern := repo.Status.GetUserBranchName() - // develn := repo.Status.GetDevelBranchName() if oldname == newname { return 0, nil }