aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2013-08-12 10:26:14 +0000
committerTatsuya Kinoshita <tats@debian.org>2013-08-12 10:26:14 +0000
commitf4553d1890bf5201fee0336e8c41bed693461b01 (patch)
tree799a1921652092aa8051f0980c0ba058f880b275
parentUpdate gitlog2changelog for well handling of short comment (diff)
downloadw3m-f4553d1890bf5201fee0336e8c41bed693461b01.tar.gz
w3m-f4553d1890bf5201fee0336e8c41bed693461b01.zip
Update gitlog2changelog for well handling of short comment
-rwxr-xr-xdebian/gitlog2changelog2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/gitlog2changelog b/debian/gitlog2changelog
index e501b8f..598c7d2 100755
--- a/debian/gitlog2changelog
+++ b/debian/gitlog2changelog
@@ -61,7 +61,7 @@ sub print_entry {
if ($comment =~ /^([^\n]+)/) {
$short_comment = $1;
}
- if ($short_comment =~ /(:|,[ \t]*$)/ ||
+ if ($short_comment =~ /:[ \t]|[:,\)][ \t]*$/ ||
$files_line_len + length($short_comment) > 78) {
$files_lines =~ s/, $/:\n\t/;
} else {