summaryrefslogtreecommitdiff
path: root/tableGowebd.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-11-05 15:29:40 -0600
committerJeff Carr <[email protected]>2025-11-05 15:29:40 -0600
commit12b751cc7fbaa09f205c6207c355300f15885441 (patch)
treed1ba97cbdc5f6d9c86d94206dc89eb1c878f7c97 /tableGowebd.go
parentb7efa450a8a220625174f21ae15f9b7ea1cd3a3b (diff)
compiles against stat.protov0.0.182
Diffstat (limited to 'tableGowebd.go')
-rw-r--r--tableGowebd.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/tableGowebd.go b/tableGowebd.go
index 40e56ef..1cf8be4 100644
--- a/tableGowebd.go
+++ b/tableGowebd.go
@@ -37,10 +37,10 @@ func (pb *Repos) MakeGowebdTable(name string) *ReposTable {
col.Width = 9
col = t.AddStringFunc("cur tag", func(r *Repo) string {
- if r.CurrentTag == nil {
- return "nil"
+ if r.CurrentBranchName != "" {
+ return r.CurrentBranchName
}
- return "ok"
+ return "notsure"
})
col.Width = 9