summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.d/static_checks.yml
diff options
context:
space:
mode:
authorAlex Bennée2021-06-02 17:32:47 +0200
committerAlex Bennée2021-06-07 15:42:47 +0200
commitb114a0b94338ea36be2e3a8efb36a82c7b298cc4 (patch)
treeb4fad487713b9b27658b1af45b5490861b686681 /.gitlab-ci.d/static_checks.yml
parenttests/acceptance: tag various arm tests as TCG only (diff)
downloadqemu-b114a0b94338ea36be2e3a8efb36a82c7b298cc4.tar.gz
qemu-b114a0b94338ea36be2e3a8efb36a82c7b298cc4.tar.xz
qemu-b114a0b94338ea36be2e3a8efb36a82c7b298cc4.zip
gitlab: work harder to avoid false positives in checkpatch
This copies the behaviour of patchew's configuration to make the diff algorithm generate a minimal diff. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Message-Id: <20210602153247.27651-1-alex.bennee@linaro.org>
Diffstat (limited to '.gitlab-ci.d/static_checks.yml')
-rw-r--r--.gitlab-ci.d/static_checks.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci.d/static_checks.yml b/.gitlab-ci.d/static_checks.yml
index 8e30872164..7e685c6a65 100644
--- a/.gitlab-ci.d/static_checks.yml
+++ b/.gitlab-ci.d/static_checks.yml
@@ -3,7 +3,11 @@ check-patch:
image: $CI_REGISTRY_IMAGE/qemu/centos8:latest
needs:
job: amd64-centos8-container
- script: .gitlab-ci.d/check-patch.py
+ script:
+ - git config --local diff.renamelimit 0
+ - git config --local diff.renames True
+ - git config --local diff.algorithm histogram
+ - .gitlab-ci.d/check-patch.py
variables:
GIT_DEPTH: 1000
rules: