Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scripts/documentation-file-ref-check: don't check perl/python scripts

Such scripts may have regular expressions, which would make the
parser confusing. Also, they shouldn't hardcode filenames there,
so skipping them is OK.

While here, also don't check references on extensions used for file
backup and patch rej/orig.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/712bfc8412ee5ad8ab43dd21a8c30fc858eff5a6.1739182025.git.mchehab+huawei@kernel.org

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
790ca8b0 01d00914

+1 -1
+1 -1
scripts/documentation-file-ref-check
··· 92 92 next if ($f =~ m,^Next/,); 93 93 94 94 # Makefiles and scripts contain nasty expressions to parse docs 95 - next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/); 95 + next if ($f =~ m/Makefile/ || $f =~ m/\.(sh|py|pl|~|rej|org|orig)$/); 96 96 97 97 # It doesn't make sense to parse hidden files 98 98 next if ($f =~ m#/\.#);