Просмотр исходного кода

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

Jakob Borg 9 лет назад
Родитель
Сommit
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'})
 	if !subject.Match(lines[0]) {
 		fmt.Printf(`Commit message subject:
+
     %s
 
 doesn't look like "tag: One sentence description". Specifically, it doesn't