From 0ca1240c7556829d0a43b58a5ea608b6b71e79aa Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 8 Jan 2025 04:08:34 -0600 Subject: quiet output --- reloadCheckDirty.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'reloadCheckDirty.go') diff --git a/reloadCheckDirty.go b/reloadCheckDirty.go index ae7b489..ed5de71 100644 --- a/reloadCheckDirty.go +++ b/reloadCheckDirty.go @@ -58,6 +58,9 @@ func (repo *Repo) CheckDirty() bool { pbnow := timestamppb.New(time.Now()) repo.Times.LastDirty = pbnow repo.Dirty = bad + if bad { + repo.State = "dirty" + } return bad } -- cgit v1.2.3