Skip to content
Snippets Groups Projects
Commit 765ccac0 authored by Vassil Vassilev's avatar Vassil Vassilev Committed by Axel Naumann
Browse files

[travis] Add instructions for applying formatting changes inline.

This avoids bloating the history with blank space commits.
parent edcf8d20
No related branches found
No related tags found
No related merge requests found
......@@ -18,5 +18,11 @@ else
echo -e "\tgit checkout $TRAVIS_BRANCH"
echo -e "\tgit-clang-format --commit $BASE_COMMIT --diff --binary $(which clang-format)"
echo "$RESULT_OUTPUT"
echo -e "\n\nPlease apply the code formatting changes without bloating the history."
echo -e "\tConsider running:"
echo -e "\t\tgit checkout $TRAVIS_BRANCH"
echo -e "\t\tgit rebase -i --autosquash -x 'git-clang-format-7 master && git commit -a --amend --no-edit' master"
exit 1
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment