diff options
author | Viktor Szakats <commit@vsz.me> | 2022-05-20 05:58:05 +0000 |
---|---|---|
committer | Viktor Szakats <commit@vsz.me> | 2022-05-20 05:58:05 +0000 |
commit | fde1cb9247792dfeeb6e44a07c84ed3957cb4707 (patch) | |
tree | bf345a03924c2c8936e2f3f08dfa0120919978cf /scripts | |
parent | a7a18d75895dde6729b69e5e7e33c5d64becdf18 (diff) | |
download | curl-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-x | scripts/log2changes.pl | 2 |
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"; |