Allow non-word characters at the end of commit messages

This commit is contained in:
Jakob Borg 2015-04-04 09:50:59 +02:00
parent 04d4b5d8a0
commit 55e434d67a

View File

@ -16,7 +16,7 @@ import (
) )
var ( var (
subjectIssues = regexp.MustCompile(`^([^(]+)\s+\((?:fixes|ref) ([^)]+)\)$`) subjectIssues = regexp.MustCompile(`^([^(]+)\s+\((?:fixes|ref) ([^)]+)\)(?:[^\w])?$`)
issueNumbers = regexp.MustCompile(`(#\d+)`) issueNumbers = regexp.MustCompile(`(#\d+)`)
) )