aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2020-03-05 23:09:45 +0100
committerMarge Bot <[email protected]>2020-03-06 11:46:45 +0000
commitd7a70fbb2305604ce75b1a0dbcd03e2ebe71f92a (patch)
tree0705919f67a1599c2cbd153eab0396060cf2d735
parent894e2863919420a6f3e3ac55d14bc46b222de447 (diff)
bin/gen_release_notes.py: fix commit list command
Fixes: 86079447da1e00d49db0 ("scripts: Add a gen_release_notes.py script") Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Dylan Baker <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4069> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4069>
-rwxr-xr-xbin/gen_release_notes.py2
1 files changed, 1 insertions, 1 deletions
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}"