summaryrefslogtreecommitdiff
path: root/doPull.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-10 02:59:56 -0500
committerJeff Carr <[email protected]>2025-10-10 02:59:56 -0500
commit8b3996d0b9c443269cfc7d146443431740e26381 (patch)
treef90a2d5375b884d7917574ce07d17d8f94744761 /doPull.go
parentee47b39efae2347e5ee3fff2888a008d4848276b (diff)
func to help track down dirty() detection problem
Diffstat (limited to 'doPull.go')
-rw-r--r--doPull.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/doPull.go b/doPull.go
index d7a334b..de5a42e 100644
--- a/doPull.go
+++ b/doPull.go
@@ -108,12 +108,12 @@ func doPull() error {
log.Info("path deleted while running?", path)
continue
}
- r := repoerr.Append(repo)
- r.State = "git pull failed"
+ r := repoerr.Clone(repo)
+ r.State = "git pull failed" + repo.State
dur := stat.End.Sub(stat.Start)
if dur > 1*time.Second {
msg := log.Sprintf("pull time (%s)", config.FormatDuration(dur))
- r.State = msg
+ r.State = msg + repo.State
}
}
repoerr.SortNamespace()