diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2021-06-02 16:32:47 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2021-06-07 14:42:47 +0100 |
commit | b114a0b94338ea36be2e3a8efb36a82c7b298cc4 (patch) | |
tree | b4fad487713b9b27658b1af45b5490861b686681 /.gitlab-ci.d/static_checks.yml | |
parent | e2ff831462d8783d5ba822db971c0d91380cc7c7 (diff) |
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.yml | 6 |
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: |