Permalink
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...
afresh1 committed Jul 9, 2012
1 parent c3c4fc2 commit 9dcc09e1702e596c861add410ee5ac43d5afb3ab
Showing with 1 addition and 1 deletion.
  1. +1 −1 commits-to-twitter.pl
View
@@ -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.