Skip to content

Commit fe3e4b9

Browse files
mchehabJonathan Corbet
authored andcommitted
scripts/documentation-file-ref-check: don't parse Next/ dir
If one tries to run this script under linux-next, it would hit lots of false-positives, due to the tree merges that are stored under the Next/ directory. So, add a logic to ignore it. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 62be257 commit fe3e4b9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎scripts/documentation-file-ref-check‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ while (<IN>) {
3838
my $f = $1;
3939
my $ln = $2;
4040

41+
# On linux-next, discard the Next/ directory
42+
next if ($f =~ m,^Next/,);
43+
4144
# Makefiles and scripts contain nasty expressions to parse docs
4245
next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/);
4346

0 commit comments

Comments
 (0)