summaryrefslogtreecommitdiff
path: root/gitPull.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 07:02:45 -0600
committerJeff Carr <[email protected]>2024-12-17 07:02:45 -0600
commitd3f8613bd8943b0fcfb324a1f01d928fd1ef7fcf (patch)
treeee95fbf9f04e609afc1ad8df7d93163afd39004f /gitPull.go
parente8de69e5a9fe98b5b234dbc345378c987040e46c (diff)
fixes for new gitpbv0.7.4
Diffstat (limited to 'gitPull.go')
-rw-r--r--gitPull.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/gitPull.go b/gitPull.go
index aaee913..f2e4528 100644
--- a/gitPull.go
+++ b/gitPull.go
@@ -11,16 +11,16 @@ func gitPull() {
pull := []string{"git", "pull"}
var trycount, errcount int
- repos := forge.Repos.SortByGoPath()
+ repos := forge.Repos.SortByFullPath()
for repos.Scan() {
repo := repos.Next()
if argv.DryRun {
- log.Info("git pull --dry-run", repo.GoPath)
+ log.Info("git pull --dry-run", repo.GetGoPath())
continue
}
log.Info("git pull:", repo.FullPath)
trycount += 1
- log.Info("actually run: git pull:", repo.GoPath)
+ log.Info("actually run: git pull:", repo.GetGoPath())
if result := shell.PathRunRealtime(repo.FullPath, pull); result.Error != nil {
log.Info("git pull error:", result.Error)
errcount += 1