From fde1cb9247792dfeeb6e44a07c84ed3957cb4707 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 20 May 2022 05:58:05 +0000 Subject: [PATCH] log2changes: do not indent empty lines [ci skip] This will omit two spaces of indentation from lines with no content, thus avoiding 'spaces @ EOL'. Reviewed-by: Daniel Stenberg Closes #8887 --- scripts/log2changes.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/log2changes.pl b/scripts/log2changes.pl index 25447e8785..d3539cb60d 100755 --- a/scripts/log2changes.pl +++ b/scripts/log2changes.pl @@ -94,7 +94,7 @@ while() { $oldco = $co; $oldc = $c; $olddate = $date; - if($line++) { + if($line++ && $2 ne "") { print " "; } print $2."\n";