diff options
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
