浏览代码

script: Missed a newline in the commit-msg hook output

Jakob Borg 9 年之前
父节点
当前提交
1cdfef4d6a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      script/commit-msg.go

+ 1 - 0
script/commit-msg.go

@@ -39,6 +39,7 @@ func main() {
 	lines := bytes.Split(bs, []byte{'\n'})
 	lines := bytes.Split(bs, []byte{'\n'})
 	if !subject.Match(lines[0]) {
 	if !subject.Match(lines[0]) {
 		fmt.Printf(`Commit message subject:
 		fmt.Printf(`Commit message subject:
+
     %s
     %s
 
 
 doesn't look like "tag: One sentence description". Specifically, it doesn't
 doesn't look like "tag: One sentence description". Specifically, it doesn't