mirror of https://github.com/pypa/pip
Add a comment to tasks/generate.py regarding Windows shell syntax
This commit is contained in:
parent
9d7095c72e
commit
70e870f72a
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue