Commit 1d94fec6 authored by Felipe Lema's avatar Felipe Lema
Browse files

avoid file-or-branch ambiguity by adding -- to `git` command

parent 620c2f21
Pipeline #70808 failed with stage
in 1 minute and 7 seconds
......@@ -13,4 +13,4 @@ clang_format:
- update-ca-certificates
script:
- wget -c --output-document=.clang-format https://invent.kde.org/frameworks/extra-cmake-modules/raw/master/kde-modules/clang-format.cmake
- git diff-tree --no-commit-id --name-only -r $CI_MERGE_REQUEST_TARGET_BRANCH_NAME -r $CI_COMMIT_SHA | grep -P '[.](c|cc|cpp|hpp|h)$' | xargs --no-run-if-empty --verbose clang-format-11 --dry-run -Werror
- git diff-tree --no-commit-id --name-only -r $CI_MERGE_REQUEST_TARGET_BRANCH_NAME -r $CI_COMMIT_SHA -- | grep -P '[.](c|cc|cpp|hpp|h)$' | xargs --no-run-if-empty --verbose clang-format-11 --dry-run -Werror
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment