bin/gen_release_notes.py: fix commit list command
authorEric Engestrom <eric@engestrom.ch>
Thu, 5 Mar 2020 22:09:45 +0000 (23:09 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 11:46:45 +0000 (11:46 +0000)
Fixes: 86079447da1e00d49db0 ("scripts: Add a gen_release_notes.py script")
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4069>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4069>

bin/gen_release_notes.py

index f7b9237071c664b56688ef032b0c11fb7f496948..09344c419eaaf4ee108442ec5a1b5fe9b6a31bf3 100755 (executable)
@@ -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}"