diff options
| author | Jeff Carr <[email protected]> | 2025-10-03 17:19:35 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-03 17:19:35 -0500 |
| commit | a8cde5da23d912ce2b5daa52083bedc296750ff5 (patch) | |
| tree | 509178ef6686a96ca648e6ab6381ee7ea13787de /reloadRepoState.go | |
| parent | 2a04c33edf87e5396ceb3cc829622c16ce3c173a (diff) | |
more movement towards state in the PBv0.0.143
Diffstat (limited to 'reloadRepoState.go')
| -rw-r--r-- | reloadRepoState.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reloadRepoState.go b/reloadRepoState.go index 9e17add..42482c4 100644 --- a/reloadRepoState.go +++ b/reloadRepoState.go @@ -49,11 +49,11 @@ func (repo *Repo) setRepoState() { return } - if repo.CheckBranches() { - repo.State = "PERFECT" + if b := repo.CheckBranches(); b != "" { + repo.State = "unknown branch " + b return } - repo.State = "unknown branches" + repo.State = "PERFECT" } // returns true if old="v0.2.4" and new="v0.3.3" |
