diff options
| author | Jeff Carr <[email protected]> | 2025-08-19 21:18:44 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-19 21:18:44 -0500 |
| commit | dad2e089c35a517ae684771c56799517f5ae42bc (patch) | |
| tree | 66bda783ca86b8240793b21021e7d210eca0cf8e /doCommit.go | |
| parent | ffe615ef2ae6ef7df78b796f8eabae172e4a8e1b (diff) | |
finally fixed?
Diffstat (limited to 'doCommit.go')
| -rw-r--r-- | doCommit.go | 4 |
1 files changed, 2 insertions, 2 deletions
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()) } |
