util: Fix an incorrect print statement in git pre-commit hook
Change-Id: I13d0a705b6cfab654635380e2adbf36243344a62 Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36516 Reviewed-by: Gabe Black <gabe.black@gmail.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -114,6 +114,6 @@ if failing_files:
|
||||
"fixes for commit in\n"
|
||||
"the following files: ", file=sys.stderr)
|
||||
for f in staged_mismatch:
|
||||
print("\t%s".format(f), file=sys.stderr)
|
||||
print("\t{}".format(f), file=sys.stderr)
|
||||
print("Please `git --add' them", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user