rm oldcomment
This commit is contained in:
parent
bc9c98236e
commit
42db232c6a
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue