From d7a70fbb2305604ce75b1a0dbcd03e2ebe71f92a Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 5 Mar 2020 23:09:45 +0100 Subject: [PATCH] bin/gen_release_notes.py: fix commit list command Fixes: 86079447da1e00d49db0 ("scripts: Add a gen_release_notes.py script") Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker Tested-by: Marge Bot Part-of: --- bin/gen_release_notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gen_release_notes.py b/bin/gen_release_notes.py index f7b9237071c..09344c419ea 100755 --- a/bin/gen_release_notes.py +++ b/bin/gen_release_notes.py @@ -125,7 +125,7 @@ TEMPLATE = Template(textwrap.dedent("""\ async def gather_commits(version: str) -> str: p = await asyncio.create_subprocess_exec( - 'git', 'log', f'mesa-{version}..', '--grep', r'Closes: \(https\|#\).*', + 'git', 'log', '--oneline', f'mesa-{version}..', '--grep', r'Closes: \(https\|#\).*', stdout=asyncio.subprocess.PIPE) out, _ = await p.communicate() assert p.returncode == 0, f"git log didn't work: {version}" -- 2.30.2