diff --git a/solenv/clang-format/check-last-commit b/solenv/clang-format/check-last-commit index bd26258c5ad4..0de5ac4b0783 100755 --- a/solenv/clang-format/check-last-commit +++ b/solenv/clang-format/check-last-commit @@ -65,11 +65,7 @@ sub check_style() { print("\nERROR: The above differences were found between the code to commit \n"); print("and the clang-format rules. Tips:\n"); - print("\n- On your local machine you may check how clang-format would modify the problematic file by saying\n"); - print(" diff --unified <(/opt/lo/bin/clang-format )\n"); - print("- NOTE: you should only correct the lines that you changed. Do not add unrelated formatting to your patch.\n"); - print("- If the suggested corrections only apply to the lines you changed, you may run\n"); - print(" '/opt/lo/bin/clang-format -i ' to fix up style automatically.\n"); + print("\n- You may run '/opt/lo/bin/clang-format -i ' to fix up style automatically.\n"); print("- See solenv/clang-format/README on where to get the required version of clang-format binaries.\n"); print("- If you renamed an excluded file, update solenv/clang-format/excludelist accordingly to keep it excluded.\n"); print("\nsolenv/clang-format/check-last-commit: KO\n");