diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/git-comment.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/git-comment.pl b/bin/git-comment.pl index 9efebf83..7f85b6d6 100644 --- a/bin/git-comment.pl +++ b/bin/git-comment.pl @@ -74,7 +74,7 @@ while (<$pipe>) { } elsif (/^\t(\s*)(.*)/) { my ($indent, $line) = ($1, $2); - unless ($printed) { + unless ($printed || $line =~ /^}?$/) { $printed = 1; if ( $group >= $minGroup && |