diff options
| -rw-r--r-- | update.go | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -43,10 +43,12 @@ func (rs *RepoStatus) Update() { } func (rs *RepoStatus) CheckGitState() string { - rs.setState() - return rs.gitState.String() + state := rs.pb.GetState() + rs.gitState.SetText(state) + return state } +/* func (rs *RepoStatus) setState() { pb := rs.pb rs.changed = false @@ -79,3 +81,4 @@ func (rs *RepoStatus) setState() { log.Log(REPO, "FIND THIS IN REPO STATUS Branches are not Perfect") rs.gitState.SetText("unknown branches") } +*/ |
