summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-19 07:06:03 -0600
committerJeff Carr <[email protected]>2025-01-19 07:06:03 -0600
commit750ceaf8a13c023d6d6abffd0c61c41c6bc58cb7 (patch)
treede48c757d442b4d5f4d430e2311610e3418ee7d4
parentac2958e5598a33230caa81a307cde211f1be07cc (diff)
old status vestages of the past are gonev0.22.35v0.22.34
-rw-r--r--update.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/update.go b/update.go
index 180788f..8774635 100644
--- a/update.go
+++ b/update.go
@@ -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")
}
+*/