summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'common.go')
-rw-r--r--common.go6
1 files changed, 3 insertions, 3 deletions
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