aboutsummaryrefslogtreecommitdiff
path: root/git-codereview/change.go
diff options
context:
space:
mode:
Diffstat (limited to 'git-codereview/change.go')
-rw-r--r--git-codereview/change.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-codereview/change.go b/git-codereview/change.go
index 3bdcd75..65f503f 100644
--- a/git-codereview/change.go
+++ b/git-codereview/change.go
@@ -256,7 +256,7 @@ func parseCL(arg string) (cl, patchset string, ok bool) {
return m[1], m[2], true
}
-var messageRE = regexp.MustCompile(`^(\[[a-zA-Z0-9.-]+\] )?[a-zA-Z0-9-/,. ]+: `)
+var messageRE = regexp.MustCompile(`^(\[[a-zA-Z0-9.-]+\] )?[a-zA-Z0-9-_/,. ]+: `)
func commitMessageOK() bool {
body := cmdOutput("git", "log", "--format=format:%B", "-n", "1")