From cfc91c8ba6f3549ea013926c2252305153164f02 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 11 Sep 2025 23:10:38 -0500 Subject: [PATCH] rm GOSRC --- windowMain.go | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/windowMain.go b/windowMain.go index 6b075e3..15cf429 100644 --- a/windowMain.go +++ b/windowMain.go @@ -57,38 +57,6 @@ func NewRepoStatusWindow(repo *gitpb.Repo) (*RepoStatus, error) { // show standard git commit and merge controls rs.drawGitCommands(primarybox) - /* - // save ~/go/src & the whole path strings - rs.path.SetValue(path) - rs.goSrcPath.SetValue(os.Getenv("FORGE_GOSRC")) - rs.realPath.SetValue(rs.pb.GetFullPath()) - - // add all the tags - // rs.makeTagBox(box2) - - // rs.readGitConfig() - - if rs.pb.GetReadOnly() { - rs.readOnly.SetValue("true") - } else { - rs.readOnly.SetValue("false") - } - rs.mainWorkingName.SetText(rs.pb.GetMasterBranchName()) - rs.mainBranchVersion.SetLabel(rs.pb.GetMasterBranchName()) - - rs.develWorkingName.SetText(rs.pb.GetDevelBranchName()) - rs.develBranchVersion.SetLabel(rs.pb.GetDevelBranchName()) - - rs.userWorkingName.SetText(rs.pb.GetUserBranchName()) - rs.userBranchVersion.SetLabel(rs.pb.GetUserBranchName()) - - if rs.pb.GetGoPath() == "" { - // not golang repo - } else { - rs.isGoLang.SetText("true") - rs.goPath.SetText(rs.pb.GetGoPath()) - } - */ windowMap[path] = rs return rs, nil }