summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-07 02:16:18 -0600
committerJeff Carr <[email protected]>2024-11-07 02:16:18 -0600
commit42db232c6acc9712517e2802a8c0161e2374ab1c (patch)
tree60e3e0c3e31fc589cb9f064aed5e9ef72af8d6c5
parentbc9c98236ebc245328edf3748956da8990855295 (diff)
rm oldcommentv0.22.8
-rw-r--r--getPatches.go21
1 files changed, 0 insertions, 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
}