diff options
| author | Jeff Carr <[email protected]> | 2025-11-03 06:49:58 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-11-03 06:49:58 -0600 |
| commit | 5849f18a91fd7877ad5fb8165b29a3df8c5f3ed1 (patch) | |
| tree | 798519fc048713675cab470fe6d1fcdf92dc6097 /doStats.go | |
| parent | fbd8440780da37e6e4cc94a7713b7815e85ad2e4 (diff) | |
show remote refs table
Diffstat (limited to 'doStats.go')
| -rw-r--r-- | doStats.go | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -166,8 +166,8 @@ func last100(r *gitpb.Repo, pb *gitpb.Stats) (int, error) { ctime, err := cobol.GetTime(parts[2]) allerr = errors.Join(allerr, err) astat.Ctime = timestamppb.New(*ctime) - astat.Subject = parts[4] - astat.Type = gitpb.Stat_REMOTE + // astat.Subject = parts[4] + // astat.Type = gitpb.Stat_REMOTE pb.Append(astat) } return counter, allerr @@ -215,7 +215,7 @@ func safeDelete(r *gitpb.Repo, deleteHash string, keepHash string) error { searchResult := log.Sprintf("NOPE(%d)", r.Stats().Len()) stat := findPatchIdInStats(r.Stats(), patchId) if stat != nil { - searchResult = log.Sprintf("FOUND %10.10s %s", stat.PatchId, stat.Subject) + searchResult = log.Sprintf("FOUND %10.10s %s", stat.PatchId, "todo: []slice") } else { ACTUALLYOK = false } @@ -290,8 +290,8 @@ func updateStats(r *gitpb.Repo, pb *gitpb.Stats, remoteName string) (int, error) ctime, err := cobol.GetTime(parts[2]) allerr = errors.Join(allerr, err) astat.Ctime = timestamppb.New(*ctime) - astat.Subject = parts[4] - astat.Type = gitpb.Stat_REMOTE + // astat.Subject = parts[4] + // astat.Type = gitpb.Stat_REMOTE pb.Append(astat) } return counter, allerr @@ -368,9 +368,9 @@ func makeRefs(r *gitpb.Repo, remoteName string) error { // } counter += 1 newstat := new(gitpb.Stat) - newstat.Type = gitpb.Stat_REMOTE + // newstat.Type = gitpb.Stat_REMOTE newstat.Hash = parts[0] - newstat.Name = parts[1] + // newstat.Name = parts[1] if stats.Len() == 0 { stats.Append(newstat) continue |
