mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 05:20:50 +00:00
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>
This commit is contained in:
parent
e2ff831462
commit
b114a0b943
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user