finally fixed?

This commit is contained in:
Jeff Carr 2025-08-19 21:18:44 -05:00
parent ffe615ef2a
commit dad2e089c3
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ func doCommit() {
okExit("")
}
if !repo.IsDirty() {
okExit("this repo is not dirty")
if !repo.CheckDirty() {
okExit(log.Sprintf("this repo %s is not dirty. Use --all to commit all changes in all repos.", repo.GetFullPath()))
} else {
log.Info("repo is dirty", repo.GetFullPath())
}