summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2022-05-20 05:58:05 +0000
committerViktor Szakats <commit@vsz.me>2022-05-20 05:58:05 +0000
commitfde1cb9247792dfeeb6e44a07c84ed3957cb4707 (patch)
treebf345a03924c2c8936e2f3f08dfa0120919978cf /scripts
parenta7a18d75895dde6729b69e5e7e33c5d64becdf18 (diff)
downloadcurl-fde1cb9247792dfeeb6e44a07c84ed3957cb4707.tar.gz
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 <daniel@haxx.se> Closes #8887
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/log2changes.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/log2changes.pl b/scripts/log2changes.pl
index 25447e878..d3539cb60 100755
--- a/scripts/log2changes.pl
+++ b/scripts/log2changes.pl
@@ -94,7 +94,7 @@ while(<STDIN>) {
$oldco = $co;
$oldc = $c;
$olddate = $date;
- if($line++) {
+ if($line++ && $2 ne "") {
print " ";
}
print $2."\n";