finally fixed?
This commit is contained in:
parent
ffe615ef2a
commit
dad2e089c3
|
@ -44,8 +44,8 @@ func doCommit() {
|
||||||
okExit("")
|
okExit("")
|
||||||
}
|
}
|
||||||
|
|
||||||
if !repo.IsDirty() {
|
if !repo.CheckDirty() {
|
||||||
okExit("this repo is not dirty")
|
okExit(log.Sprintf("this repo %s is not dirty. Use --all to commit all changes in all repos.", repo.GetFullPath()))
|
||||||
} else {
|
} else {
|
||||||
log.Info("repo is dirty", repo.GetFullPath())
|
log.Info("repo is dirty", repo.GetFullPath())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue