summaryrefslogtreecommitdiff
path: root/tableGowebd.go
diff options
context:
space:
mode:
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