diff options
| author | Jeff Carr <[email protected]> | 2025-10-10 02:59:56 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-10 02:59:56 -0500 |
| commit | 8b3996d0b9c443269cfc7d146443431740e26381 (patch) | |
| tree | f90a2d5375b884d7917574ce07d17d8f94744761 /doPull.go | |
| parent | ee47b39efae2347e5ee3fff2888a008d4848276b (diff) | |
func to help track down dirty() detection problem
Diffstat (limited to 'doPull.go')
| -rw-r--r-- | doPull.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() |
