rm oldcomment

This commit is contained in:
Jeff Carr 2024-11-07 02:16:18 -06:00
parent bc9c98236e
commit 42db232c6a
1 changed files with 0 additions and 21 deletions

View File

@ -16,33 +16,12 @@ type Patch struct {
RS *repostatus.RepoStatus 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 // move all this to repolist and gowit repos
func (repo *RepoRow) GetPatches(oldname string, newname string) (int, []*Patch) { func (repo *RepoRow) GetPatches(oldname string, newname string) (int, []*Patch) {
var patchcount int var patchcount int
patches := make([]*Patch, 0, 0) 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 { if oldname == newname {
return 0, nil return 0, nil
} }