未验证 提交 920f2774 编写于 作者: P Paul Moore 提交者: GitHub

Merge pull request #5323 from pfmoore/task_comment

Add a comment to tasks/generate.py regarding Windows shell syntax
......@@ -9,8 +9,13 @@ def authors(ctx):
# Get our list of authors
print("[generate.authors] Collecting author names")
# Note that it's necessary to use double quotes in the
# --format"=%aN <%aE>" part of the command, as the Windows
# shell doesn't recognise single quotes here.
r = ctx.run('git log --use-mailmap --format"=%aN <%aE>"',
encoding="utf-8", hide=True)
authors = []
seen_authors = set()
for author in r.stdout.splitlines():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册