diff options
Diffstat (limited to 'git.go')
| -rw-r--r-- | git.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -206,6 +206,7 @@ func (rs *RepoStatus) GetUserVersion() string { return name } +// TODO: make this report the error somewhere func (rs *RepoStatus) CheckBranches() bool { var hashCheck string var perfect bool = true @@ -243,7 +244,8 @@ func (rs *RepoStatus) CheckBranches() bool { if hash == hashCheck { log.Warn(hash, output, b) } else { - log.Warn(hash, output, b, "NOT THE SAME") + log.Warn("UNKNOWN BRANCHES IN THIS REPO") + rs.versionMessage.SetText("UNKNOWN BRANCHES") perfect = false parts := strings.Split(b, "/") log.Warn("git push", parts) |
