Source

Target

Commits (2)
Showing with 4 additions and 1 deletion
......@@ -322,11 +322,14 @@ while (<MSG>) {
if (/\bQT[A-Z]+-\d+\b/) {
complain_cln("Bug reference in summary", "log");
}
if (/\.$/) {
complain_cln("Summary ends with period", "log");
}
if (!$badlog && length($_) < 7) {
complain_cln("Summary is too short", "log");
} elsif (!$badlog && !$revert1 && length($_) > 120) {
complain_cln("Summary is excessively long", "log");
} elsif ($parents < 2 && !$revert1 && length($_) > 70) {
} elsif ($parents < 2 && !$revert1 && length($_) > 72) {
complain_cln("Aim for shorter summaries", "", -1);
}
} else {
......