summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-11 15:11:48 -0400
committerJune McEnroe <june@causal.agency>2021-09-11 15:11:48 -0400
commit9d3e8a88a0d06310ff0a9309a5439ab97b8f922f (patch)
tree467b882efc00c6caf80a5fce923c5df776db3eaa
parentPublish "git-comment" (diff)
downloadsrc-9d3e8a88a0d06310ff0a9309a5439ab97b8f922f.tar.gz
src-9d3e8a88a0d06310ff0a9309a5439ab97b8f922f.zip
Also defer printing comment for lone close-parens
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 27a06998..71149b8d 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 &&
n title='2020-05-21 13:55:25 -0400'>2020-05-21Do not sort results in scoop by defaultJune McEnroe 2020-05-21Expand and clarify documentationJune McEnroe 2020-05-21Execute PAGER with the SHELLJune McEnroe 2020-05-21Automatically perform database migrations in litterboxJune McEnroe 2020-05-20Don't install rc scripts on other platformsJune McEnroe 2020-05-20Rewrite build and install like pounce 1.3June McEnroe 2020-05-20Update email addressesJune McEnroe 2020-04-23Call updateConsumer from handleError 1.2p1June McEnroe 2020-04-20Use . as ${LDLIBS.$@} separatorJune McEnroe 2020-04-05Error on invalid ISUPPORT values 1.2June McEnroe 2020-04-05Only set RCS on FreeBSDJune McEnroe 2020-04-05Log bans and unbansJune McEnroe 2020-04-05Parse mode types from ISUPPORTJune McEnroe 2020-04-05Add unscoop matchers for ban/unban eventsJune McEnroe 2020-04-05Check unscoop regexps with make testJune McEnroe 2020-04-05Add unscoop -n flag for checking regexpsJune McEnroe 2020-04-05Add Ban and Unban event typesJune McEnroe 2020-04-02Update styleJune McEnroe 2020-03-31Update unscoop catgirl matchersJune McEnroe 2020-03-31Fix writing verbose to stderrJune McEnroe 2020-03-02Include <>/-/* around nicks in scoop coloring 1.1June McEnroe 2020-03-02Replace .mk files with configure scriptJune McEnroe 2020-02-28Implement the causal.agency/consumer capabilityJune McEnroe 2020-02-22Include <>/-/* around nicks in coloringJune McEnroe 2020-02-22Use (almost) the full range of IRC colors for nicksJune McEnroe