old status vestages of the past are gone
This commit is contained in:
parent
ac2958e559
commit
750ceaf8a1
|
@ -43,10 +43,12 @@ func (rs *RepoStatus) Update() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (rs *RepoStatus) CheckGitState() string {
|
func (rs *RepoStatus) CheckGitState() string {
|
||||||
rs.setState()
|
state := rs.pb.GetState()
|
||||||
return rs.gitState.String()
|
rs.gitState.SetText(state)
|
||||||
|
return state
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
func (rs *RepoStatus) setState() {
|
func (rs *RepoStatus) setState() {
|
||||||
pb := rs.pb
|
pb := rs.pb
|
||||||
rs.changed = false
|
rs.changed = false
|
||||||
|
@ -79,3 +81,4 @@ func (rs *RepoStatus) setState() {
|
||||||
log.Log(REPO, "FIND THIS IN REPO STATUS Branches are not Perfect")
|
log.Log(REPO, "FIND THIS IN REPO STATUS Branches are not Perfect")
|
||||||
rs.gitState.SetText("unknown branches")
|
rs.gitState.SetText("unknown branches")
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
Loading…
Reference in New Issue