diff options
| author | Jeff Carr <[email protected]> | 2025-10-10 03:00:41 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-10 03:00:41 -0500 |
| commit | a08846b17f382a6c94017cc74e1efcbf8eec6376 (patch) | |
| tree | fd30c52a4bae895b2db068920ed4fbae694cbbef /doDirty.go | |
| parent | f6f6dc08d7e00250e9825b5570971045d06403eb (diff) | |
test clone() behavior here
Diffstat (limited to 'doDirty.go')
| -rw-r--r-- | doDirty.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
