summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/fetch-distro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fetch-distro.py b/tools/fetch-distro.py
index 9fc5b1bfa6..1da1b8486e 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)}")