diff options
author | Alon Zakai <azakai@google.com> | 2019-12-13 14:22:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-13 14:22:35 -0800 |
commit | 321222a26b8fcc3a284b52e5cedd4c3a5b734939 (patch) | |
tree | 11b07e8f40f621c5dd12ea940cdf482c5b74fb3c /clang-format-diff.sh | |
parent | fbce98c6fdeb2a78ef58079ce1c2a385a17357d6 (diff) | |
download | binaryen-321222a26b8fcc3a284b52e5cedd4c3a5b734939.tar.gz binaryen-321222a26b8fcc3a284b52e5cedd4c3a5b734939.tar.bz2 binaryen-321222a26b8fcc3a284b52e5cedd4c3a5b734939.zip |
Mention that the diff from clang-format and -tidy can be applied (#2526)
Diffstat (limited to 'clang-format-diff.sh')
-rwxr-xr-x | clang-format-diff.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-format-diff.sh b/clang-format-diff.sh index 50a9800b5..2525259e9 100755 --- a/clang-format-diff.sh +++ b/clang-format-diff.sh @@ -19,7 +19,7 @@ MERGE_BASE=$(git merge-base $BRANCH HEAD) FORMAT_MSG=$(git clang-format $MERGE_BASE -q --diff -- src/) if [ -n "$FORMAT_MSG" -a "$FORMAT_MSG" != "no modified files to format" ] then - echo "Run git clang-format before committing!" + echo "Please run git clang-format before committing, or apply this diff:" echo # Run git clang-format again, this time without capruting stdout. This way # clang-format format the message nicely and add color. |