Commit 10d90f51 authored by Stefan Schake's avatar Stefan Schake

drm_hwcomposer: Ignore context in clang-format-diff

Signed-off-by: Stefan Schake's avatarStefan Schake <stschake@gmail.com>
parent acb63036
Pipeline #306 passed with stage
in 1 minute and 32 seconds
......@@ -10,7 +10,7 @@ stages:
clang-format:
stage: style
script:
- git diff -U --no-color master...HEAD | clang-format-diff-3.5 -p 1 -style=file > format-fixup.patch
- git diff -U0 --no-color master...HEAD | clang-format-diff-3.5 -p 1 -style=file > format-fixup.patch
- if [ -s format-fixup.patch ]; then cat format-fixup.patch && exit 1; fi
artifacts:
when: on_failure
......
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