Skip to content
Browse files

Anchor the match so we don't get quoted commits

Unlikely to happen because we should fail with the attribution line but if
somehow it wasn't there it could cause issues.
  • Loading branch information...
1 parent c3c4fc2 commit 9dcc09e1702e596c861add410ee5ac43d5afb3ab @afresh1 committed Jul 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 commits-to-twitter.pl
View
2 commits-to-twitter.pl
@@ -214,7 +214,7 @@ sub parse_commit {
next;
}
- if (/(CVSROOT|Module name|Changes by|Release Tags):\s+(.*)$/) {
+ if (/^\s*(CVSROOT|Module name|Changes by|Release Tags):\s+(.*)$/) {
$commit{$1} = $2;
next;
}

0 comments on commit 9dcc09e

Please sign in to comment.
Something went wrong with that request. Please try again.