mirror of
https://github.com/thegeeklab/git-sv.git
synced 2024-11-10 02:10:38 +00:00
parent
9d69abc45a
commit
a1498c0832
@ -202,7 +202,6 @@ func (p MessageProcessorImpl) Format(msg CommitMessage) (string, string, string)
|
|||||||
|
|
||||||
// Parse a commit message.
|
// Parse a commit message.
|
||||||
func (p MessageProcessorImpl) Parse(subject, body string) CommitMessage {
|
func (p MessageProcessorImpl) Parse(subject, body string) CommitMessage {
|
||||||
|
|
||||||
filteredSubject := subject
|
filteredSubject := subject
|
||||||
if p.messageCfg.MessageSelector != "" {
|
if p.messageCfg.MessageSelector != "" {
|
||||||
subjectRegex := regexp.MustCompile(p.messageCfg.MessageSelector)
|
subjectRegex := regexp.MustCompile(p.messageCfg.MessageSelector)
|
||||||
|
Loading…
Reference in New Issue
Block a user