summaryrefslogtreecommitdiff
path: root/repoNew.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-07-21 22:25:15 -0500
committerJeff Carr <[email protected]>2025-07-21 22:25:15 -0500
commit8e8d9e9a692e78c0a4b014fab048a2ee86caf855 (patch)
tree38811d53125120aac63103da377b68c5175f6547 /repoNew.go
parentb6a7af773d3216346d08d23b3d960d5c01048d9b (diff)
return a map of the repos & errors
Diffstat (limited to 'repoNew.go')
-rw-r--r--repoNew.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/repoNew.go b/repoNew.go
index 96e5bda..9ed3a60 100644
--- a/repoNew.go
+++ b/repoNew.go
@@ -122,13 +122,6 @@ func (f *Forge) findMasterBranch(repo *gitpb.Repo) {
// TODO: figure out the name from git
repo.SetMasterBranchName("master")
- /* no longer checkout on Init()
- if repo.CheckoutMaster() {
- } else {
- cmd := []string{"git", "branch", "master"}
- repo.Run(cmd)
- }
- */
}
// figure out what the name of the git devel branch is
@@ -137,13 +130,6 @@ func (f *Forge) findDevelBranch(repo *gitpb.Repo) {
// check the forge config first
if bname := f.Config.FindDevelBranch(repo.GetGoPath()); bname != "" {
repo.SetDevelBranchName(bname)
- /* no longer checkout on Init()
- if repo.CheckoutDevel() {
- } else {
- cmd := []string{"git", "branch", bname}
- repo.Run(cmd)
- }
- */
return
}
@@ -153,13 +139,6 @@ func (f *Forge) findDevelBranch(repo *gitpb.Repo) {
}
repo.SetDevelBranchName("devel")
- /* no longer checkout on Init()
- if repo.CheckoutDevel() {
- } else {
- cmd := []string{"git", "branch", "devel"}
- repo.Run(cmd)
- }
- */
}
// this is still in flux