mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
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
This commit is contained in:
parent
a7a18d7589
commit
fde1cb9247
@ -94,7 +94,7 @@ while(<STDIN>) {
|
||||
$oldco = $co;
|
||||
$oldc = $c;
|
||||
$olddate = $date;
|
||||
if($line++) {
|
||||
if($line++ && $2 ne "") {
|
||||
print " ";
|
||||
}
|
||||
print $2."\n";
|
||||
|
Loading…
Reference in New Issue
Block a user