diff options
author | Stefan Schake <stschake@gmail.com> | 2018-05-10 02:03:36 +0200 |
---|---|---|
committer | Stefan Schake <stschake@gmail.com> | 2018-05-10 02:03:36 +0200 |
commit | 10d90f512891256b24cbe0f0145961b1819f6018 (patch) | |
tree | ee8fee9e1c6a19cffeb4e82020aeda1985ed5aa7 /.gitlab-ci.yml | |
parent | acb630368da8c0f1ff16da5d071e8851b0af3a2d (diff) | |
download | drm_hwcomposer-10d90f512891256b24cbe0f0145961b1819f6018.tar.gz |
drm_hwcomposer: Ignore context in clang-format-diff
Signed-off-by: Stefan Schake <stschake@gmail.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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 |