summaryrefslogtreecommitdiff
path: root/doDirty.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-10 03:00:41 -0500
committerJeff Carr <[email protected]>2025-10-10 03:00:41 -0500
commita08846b17f382a6c94017cc74e1efcbf8eec6376 (patch)
treefd30c52a4bae895b2db068920ed4fbae694cbbef /doDirty.go
parentf6f6dc08d7e00250e9825b5570971045d06403eb (diff)
test clone() behavior here
Diffstat (limited to 'doDirty.go')
-rw-r--r--doDirty.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doDirty.go b/doDirty.go
index b99c949..17df64d 100644
--- a/doDirty.go
+++ b/doDirty.go
@@ -72,12 +72,12 @@ func doCheckDirty(repo *gitpb.Repo) error {
if repo.CheckDirty() {
// nothing changed
} else {
- log.Info("Repo changed to clean", repo.FullPath)
+ log.Info("IsDirty() said yes, then CheckDirty() immediately said no", repo.FullPath, repo.State, repo.StateChange)
return log.Errorf("%s repo changed to clean", repo.FullPath)
}
} else {
if repo.CheckDirty() {
- log.Info("Repo changed to dirty", repo.FullPath)
+ log.Info("IsDirty() said no, then CheckDirty() immediately said yes", repo.FullPath, repo.State, repo.StateChange)
return log.Errorf("%s repo changed to dirty", repo.FullPath)
} else {
// nothing changed