tools: Fix fetch-mkosi changelog generation

This commit is contained in:
Daan De Meyer
2025-06-26 13:28:01 +02:00
parent a7bfb9f76b
commit 1095865d26

View File

@@ -75,7 +75,7 @@ def update_mkosi(args):
print(f'mkosi: commit {new_commit!s} is still fresh')
return
cmd = ['git', '-C', args.dir.as_posix(), 'log', '--graph',
cmd = ['git', '-C', args.dir.as_posix(), 'log', '--graph', '--first-parent', '--no-merges',
'--pretty=oneline', '--no-decorate', '--abbrev-commit', '--abbrev=10',
f'{old_commit}..{new_commit}']
print(f"+ {shlex.join(cmd)}")