@@ -14,7 +14,7 @@ check_checkpatch() {
14
14
git --no-pager show --format=" %h %s" " $commit " --name-only
15
15
# Skip empty commits, assume cover letter
16
16
# and those only touching non-upstream directories .github ci and docs
17
- local files=$( git diff --diff-filter=ACM --name-only $commit ~..$commit | grep -v ^ci | grep -v ^.github | grep -v ^docs || true)
17
+ local files=$( git diff --diff-filter=ACMR --name-only $commit ~..$commit | grep -v ^ci | grep -v ^.github | grep -v ^docs || true)
18
18
if [[ -z " $files " ]]; then
19
19
echo " empty, skipped"
20
20
continue
@@ -330,7 +330,7 @@ compile_devicetree() {
330
330
331
331
echo " compile devicetree on range $base_sha ..$head_sha "
332
332
333
- local dtsi_files=$( git diff --diff-filter=ACM --name-only $base_sha ..$head_sha | grep ^arch/$ARCH /boot/dts/ | grep dtsi$ || true)
333
+ local dtsi_files=$( git diff --diff-filter=ACMR --name-only $base_sha ..$head_sha | grep ^arch/$ARCH /boot/dts/ | grep dtsi$ || true)
334
334
if [[ ! -z " $dtsi_files " ]]; then
335
335
echo " collecting dts files that include dtsi"
336
336
while read file; do
@@ -348,7 +348,7 @@ compile_devicetree() {
348
348
dts_files=${dts_files::- 1}
349
349
fi
350
350
351
- dts_files+=$( git diff --diff-filter=ACM --name-only $base_sha ..$head_sha | grep ^arch/$ARCH /boot/dts/ | grep dts$ || true)
351
+ dts_files+=$( git diff --diff-filter=ACMR --name-only $base_sha ..$head_sha | grep ^arch/$ARCH /boot/dts/ | grep dts$ || true)
352
352
if [[ -z " $dts_files " ]]; then
353
353
echo " no dts on range, skipped"
354
354
return $err
@@ -641,7 +641,7 @@ compile_kernel_smatch() {
641
641
}
642
642
643
643
compile_gcc_fanalyzer () {
644
- local files=$( git diff --diff-filter=ACM --name-only $base_sha ..$head_sha )
644
+ local files=$( git diff --diff-filter=ACMR --name-only $base_sha ..$head_sha )
645
645
local regex=' ^[[:alnum:]/._-]+:[[:digit:]]+:[[:digit:]]+: .*$'
646
646
local mail=
647
647
local fail=0
@@ -728,7 +728,7 @@ compile_gcc_fanalyzer () {
728
728
}
729
729
730
730
compile_clang_analyzer () {
731
- local files=$( git diff --diff-filter=ACM --name-only $base_sha ..$head_sha )
731
+ local files=$( git diff --diff-filter=ACMR --name-only $base_sha ..$head_sha )
732
732
local regex=' ^[[:alnum:]/._-]+:[[:digit:]]+:[[:digit:]]+: .*$'
733
733
local mail=
734
734
local fail=0
@@ -823,7 +823,7 @@ compile_clang_analyzer () {
823
823
}
824
824
825
825
assert_compiled () {
826
- local files=$( git diff --diff-filter=ACM --name-only $base_sha ..$head_sha )
826
+ local files=$( git diff --diff-filter=ACMR --name-only $base_sha ..$head_sha )
827
827
local fail=0
828
828
829
829
echo " assert sources were compiled on range $base_sha ..$head_sha "
@@ -862,7 +862,7 @@ apply_prerun() {
862
862
# e.g. manipulate the source code depending on run conditons or target.
863
863
local coccis=$( ls ci/prerun/* .cocci 2> /dev/null)
864
864
local bashes=$( ls ci/prerun/* .sh 2> /dev/null)
865
- local files=$( git diff --diff-filter=ACM --name-only $base_sha ..$head_sha )
865
+ local files=$( git diff --diff-filter=ACMR --name-only $base_sha ..$head_sha )
866
866
867
867
echo " apply_prerun on range $base_sha ..$head_sha "
868
868
@@ -891,13 +891,13 @@ apply_prerun() {
891
891
}
892
892
893
893
touch_files () {
894
- local files=$( git diff --diff-filter=ACM --name-only $base_sha ..$head_sha )
894
+ local files=$( git diff --diff-filter=ACMR --name-only $base_sha ..$head_sha )
895
895
896
896
touch $files
897
897
}
898
898
899
899
auto_set_kconfig () {
900
- local files=$( git diff --diff-filter=ACM --name-only $base_sha ..$head_sha )
900
+ local files=$( git diff --diff-filter=ACMR --name-only $base_sha ..$head_sha )
901
901
declare -a o_files
902
902
903
903
echo " get_kconfig on range $base_sha ..$head_sha "
0 commit comments