diff options
| author | Jeff Carr <[email protected]> | 2024-02-24 11:56:02 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-24 11:56:02 -0600 |
| commit | b354d7dd275042114307a896f088e869d875c68a (patch) | |
| tree | 7b995c4f451d805bf0c8dc46c85af23e15e0c0a9 /git.go | |
| parent | cec5e7f3b4900bdb8486d2d77c2ba6493ef53316 (diff) | |
try to show actual changes
Diffstat (limited to 'git.go')
| -rw-r--r-- | git.go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -209,7 +209,7 @@ func (rs *RepoStatus) CheckDirty() bool { log.Error(err, "CheckDirty() git status error") rs.dirtyLabel.SetValue("error") if start != "error" { - rs.NoteChange("repo git status is in error " + fmt.Sprint(err)) + rs.NoteChange("git status is in error " + fmt.Sprint(err)) } return true } @@ -220,15 +220,16 @@ func (rs *RepoStatus) CheckDirty() bool { log.Log(REPO, "CheckDirty() no", rs.realPath.String()) rs.dirtyLabel.SetValue("no") if start != "no" { - rs.NoteChange("repo is no longer dirty") + log.Log(REPOWARN, "is no longer dirty") + rs.NoteChange("is no longer dirty") } return false } rs.dirtyLabel.SetValue("dirty") if start != "dirty" { - log.Log(REPOWARN, "repo is now dirty") - rs.NoteChange("repo is now dirty") + log.Log(REPOWARN, "is now dirty") + rs.NoteChange("is now dirty") } return true |
