From ee7e8d5b2ba38bcc53b210c9a04ccff0de4a4f19 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 17 Dec 2024 06:37:00 -0600 Subject: lots of changes in gitpb --- gitCheckout.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gitCheckout.go') diff --git a/gitCheckout.go b/gitCheckout.go index 2952ccf..a3c60a0 100644 --- a/gitCheckout.go +++ b/gitCheckout.go @@ -44,7 +44,7 @@ func (f *Forge) CheckoutDevel() bool { log.Log(FORGEPBWARN, "running git checkout devel everwhere") var failed int = 0 var count int = 0 - all := f.Repos.SortByGoPath() + all := f.Repos.SortByFullPath() for all.Scan() { repo := all.Next() count += 1 @@ -53,7 +53,7 @@ func (f *Forge) CheckoutDevel() bool { } else { dname := repo.GetDevelBranchName() if err := f.makeBranch(repo, dname); err != nil { - log.Info(repo.GoPath, "can not make devel branch", dname) + log.Info(repo.GetGoPath(), "can not make devel branch", dname) failed += 1 } } @@ -118,7 +118,7 @@ func (f *Forge) CheckoutMaster() bool { log.Log(FORGEPBWARN, "running git checkout master everwhere") var failed int = 0 var count int = 0 - all := f.Repos.SortByGoPath() + all := f.Repos.SortByFullPath() for all.Scan() { repo := all.Next() count += 1 @@ -136,7 +136,7 @@ func (f *Forge) CheckoutUser() bool { log.Log(FORGEPBWARN, "running git checkout user everwhere") var failed int = 0 var count int = 0 - all := f.Repos.SortByGoPath() + all := f.Repos.SortByFullPath() for all.Scan() { repo := all.Next() count += 1 -- cgit v1.2.3