Add explicit OK output to check command

This adds additional output to the check command when no errors were
found. It means that when all checks have been completed, the following
output is displayed:

	No errors were found

The output is added to make sure that it is easier to understand that no
errors were found.

Full example output:

	Create exclusive lock for repository
	Load indexes
	Check all packs
	Check snapshots, trees and blobs
	No errors were found
This commit is contained in:
Anton Lindstrom 2017-10-03 08:29:19 +02:00
parent e45011af57
commit d46314648e
1 changed files with 3 additions and 0 deletions

View File

@ -176,5 +176,8 @@ func runCheck(opts CheckOptions, gopts GlobalOptions, args []string) error {
if errorsFound {
return errors.Fatal("repository contains errors")
}
Verbosef("No errors were found\n")
return nil
}