better formatting
This commit is contained in:
parent
dad2e089c3
commit
2b7257fd2d
|
@ -13,7 +13,6 @@ import (
|
||||||
|
|
||||||
func doCommit() {
|
func doCommit() {
|
||||||
if argv.All {
|
if argv.All {
|
||||||
log.Info("do a commit everywhere")
|
|
||||||
doCheckDirtyAndConfigSave()
|
doCheckDirtyAndConfigSave()
|
||||||
found := findDirty()
|
found := findDirty()
|
||||||
var newpatches bool
|
var newpatches bool
|
||||||
|
@ -45,7 +44,7 @@ func doCommit() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if !repo.CheckDirty() {
|
if !repo.CheckDirty() {
|
||||||
okExit(log.Sprintf("this repo %s is not dirty. Use --all to commit all changes in all repos.", repo.GetFullPath()))
|
okExit(log.Sprintf("this repo %s is not dirty.\n\n--all # commit all changes in all repos.\n", repo.GetFullPath()))
|
||||||
} else {
|
} else {
|
||||||
log.Info("repo is dirty", repo.GetFullPath())
|
log.Info("repo is dirty", repo.GetFullPath())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue