瀏覽代碼

Merge pull request #3491 from tianon/travis-numeric-commit

Fix Travis handling of a fully-numeric commit hash being YAML-converted ...
Tianon Gravi 11 年之前
父節點
當前提交
b942f24ba8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hack/travis/dco.py

+ 1 - 1
hack/travis/dco.py

@@ -5,7 +5,7 @@ import yaml
 
 
 from env import commit_range
 from env import commit_range
 
 
-commit_format = '-%n hash: %h%n author: %aN <%aE>%n message: |%n%w(0,2,2)%B'
+commit_format = '-%n hash: "%h"%n author: %aN <%aE>%n message: |%n%w(0,2,2)%B'
 
 
 gitlog = subprocess.check_output([
 gitlog = subprocess.check_output([
 	'git', 'log', '--reverse',
 	'git', 'log', '--reverse',