diff options
-rwxr-xr-x | debian/gitlog2changelog | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/gitlog2changelog b/debian/gitlog2changelog index 1e70f3f..e501b8f 100755 --- a/debian/gitlog2changelog +++ b/debian/gitlog2changelog @@ -61,7 +61,8 @@ sub print_entry { if ($comment =~ /^([^\n]+)/) { $short_comment = $1; } - if ($files_line_len + length($short_comment) > 78) { + if ($short_comment =~ /(:|,[ \t]*$)/ || + $files_line_len + length($short_comment) > 78) { $files_lines =~ s/, $/:\n\t/; } else { $files_lines =~ s/, $/: /; |