diff --git a/doCommit.go b/doCommit.go index 7718966..4588353 100644 --- a/doCommit.go +++ b/doCommit.go @@ -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()) }