summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/git-comment.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/git-comment.pl b/bin/git-comment.pl
index a46f43fe..64361a60 100644
--- a/bin/git-comment.pl
+++ b/bin/git-comment.pl
@@ -74,7 +74,7 @@ while (<$pipe>) {
 		$message{$commit} = \@message;
 	} elsif (/^\t(\s*)(.*)/) {
 		my ($indent, $line) = ($1, $2);
-		unless ($printed || $line =~ /^}?;?$/) {
+		unless ($printed || $line =~ /^[})]?;?$/) {
 			$printed = 1;
 			if (
 				$group >= $minGroup &&