From 240da220878c0e24fc40f40c7ea16fff66250d4e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 19 Feb 2024 16:28:24 -0600 Subject: make more widets mirrors. This is very helpful here --- common.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common.go') diff --git a/common.go b/common.go index 6c5c1c2..371a47f 100644 --- a/common.go +++ b/common.go @@ -41,7 +41,7 @@ func AllRepos() []*Repo { // a human readable state of the current repo func (r *Repo) State() string { - return r.dirtyLabel.String() + return r.gitState.String() } func (r *Repo) Scan() bool { @@ -113,10 +113,10 @@ func (r *Repo) SetGoState(s string) { } func (r *Repo) IsPerfect() bool { - if r.dirtyLabel.String() == "PERFECT" { + if r.gitState.String() == "PERFECT" { return true } - if r.dirtyLabel.String() == "unchanged" { + if r.gitState.String() == "unchanged" { return true } return false -- cgit v1.2.3