mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
tools: Fix fetch-mkosi changelog generation
This commit is contained in:
@@ -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)}")
|
||||
|
||||
Reference in New Issue
Block a user