From 5b2d1b609bd7e5bd9862acc3a2e4cb8e0ed8c8ef Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Wed, 15 Jul 2020 10:41:56 +0200 Subject: [PATCH] fix typo in clang-format helper script --- run-clang-format-diff.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-clang-format-diff.sh b/run-clang-format-diff.sh index 04108e709..8741c3daa 100755 --- a/run-clang-format-diff.sh +++ b/run-clang-format-diff.sh @@ -41,7 +41,7 @@ fi target=$1 -echo "Running code format check between ${target} and ${commit} .." +echo "Running code format check between current state and ${target} .." # run clang-format diff="$(git diff -U0 ${target} | clang-format-diff -p1 | python3 -c 'data = open(0).read(); print(data); exit(1 if data else 0)')"