diff options
Diffstat (limited to 'gitCheckout.go')
| -rw-r--r-- | gitCheckout.go | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
