Skip to content
Snippets Groups Projects
Commit 6700d5a5 authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau
Browse files

In clang format apply script, print git commands instead of executing add/commit

parent c1a7f4f3
No related branches found
No related tags found
1 merge request!175Clang format scripts as in MR
......@@ -21,7 +21,6 @@ CHANGED_FILES=$(git diff --name-only $BASE_COMMIT | grep -E '.*\.(h|hpp|c|C|cpp|
$GIT_CLANG_FORMAT_BIN --verbose --commit $BASE_COMMIT $CHANGED_FILES --extensions h,hpp,c,C,cpp,cxx,tpl
git add $CHANGED_FILES
echo ""
git status
git commit -m"Apply clang-format"
echo "Next step: git add "$CHANGED_FILES
echo 'Then : git commit -m"Apply clang-format"'
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