drm_hwcomposer: Ignore context in clang-format-diff
Signed-off-by: Stefan Schake <stschake@gmail.com>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 144eb2e..b974875 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,7 +10,7 @@
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