diff --git a/tools/fetch-distro.py b/tools/fetch-distro.py index 9fc5b1bfa62..1da1b8486e2 100755 --- a/tools/fetch-distro.py +++ b/tools/fetch-distro.py @@ -96,7 +96,7 @@ def update_distro(args, distro: str, config: dict): print(f'{distro}: commit {new_commit!s} is still fresh') return - cmd = ['git', '-C', f'pkg/{distro}', 'log', '--graph', + cmd = ['git', '-C', f'pkg/{distro}', 'log', '--graph', '--first-parent', '--pretty=oneline', '--no-decorate', '--abbrev-commit', '--abbrev=10', f'{old_commit}..{new_commit}'] print(f"+ {shlex.join(cmd)}")