diff options
| author | Jeff Carr <[email protected]> | 2025-11-05 16:10:31 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-11-05 16:10:31 -0600 |
| commit | b4d90fae8dd9967d2f5d8e6b62f29c9b1bafe6a1 (patch) | |
| tree | 27335f202eeea1e7b2678c9fdcdb6aa7b65c5f5c /main.go | |
| parent | 99f1b719cdee67353d12499308fca117cafd05f3 (diff) | |
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -80,6 +80,13 @@ func setStats(repo *gitpb.Repo) error { } } repo.UserStat = ref + if repo.Tags.Len() != stats.Len() { + log.Printf("tags Tags.len(%d) vs stats.Len(%d)\n", repo.Tags.Len(), stats.Len()) + repo.Tags = stats + err = errors.New("adding stats to repo.Tags") + } else { + // log.Printf("tags already here with len(%d)\n", repo.Tags.Len()) + } return err } |
