Commit 376ac292 authored by Chris Lamb's avatar Chris Lamb 💬

Disable the duplicate word checker when analysing patch files. (Closes: #931183)

parent e0871183
Pipeline #52784 passed with stages
in 97 minutes and 1 second
......@@ -292,10 +292,8 @@ sub check_patch {
my $tag_emitter
= spelling_tag_emitter('spelling-error-in-patch-description',
$patch_file);
# Check the first line separately to avoid duplicates
foreach my $x (split(/\n/, $description, 2)) {
check_spelling($x, $group->info->spelling_exceptions,$tag_emitter);
}
check_spelling($description, $group->info->spelling_exceptions,
$tag_emitter, 0);
}
# Use --strip=1 to strip off the first layer of directory in case
# the parent directory in which the patches were generated was
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment