diff options
Diffstat (limited to 'scan.go')
| -rw-r--r-- | scan.go | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -67,9 +67,13 @@ func (r *RepoRow) NewScan() int { r.masterVersion.SetLabel(r.pb.GitMasterVersion()) r.develVersion.SetLabel(r.pb.GitDevelVersion()) r.userVersion.SetLabel(r.pb.GitUserVersion()) - // r.gitState.SetLabel(r.Status.GetState()) - // r.currentName.SetLabel(r.Status.CurrentBranchName()) - // r.currentVersion.SetLabel(r.Status.CurrentBranchVersion()) + r.gitState.SetLabel(r.Status.GitState()) + r.currentName.SetLabel(r.Status.GetCurrentBranchName()) + r.currentVersion.SetLabel(r.Status.GetCurrentBranchVersion()) + + if r.Status.GitState() == "PERFECT" { + r.Hide() + } /* tags := []string{"%(objectname)", "%(creatordate)", "%(*authordate)", "%(refname)", "%(subject)"} |
