1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-21 23:36:58 +00:00

ci/lint: use long commit hash

No reason to use short hash in script internally.
This commit is contained in:
Kacper Michajłow 2024-05-05 13:36:41 +02:00 committed by sfan5
parent e42e0f2e2a
commit d347ee0e91

View File

@ -32,7 +32,7 @@ def get_commit_range() -> Optional[str]:
return None
def do_lint(commit_range: str) -> bool:
commits = call(["git", "log", "--pretty=format:%h %s", commit_range]).splitlines()
commits = call(["git", "log", "--pretty=format:%H %s", commit_range]).splitlines()
print(f"Linting {len(commits)} commit(s):")
any_failed = False
for commit in commits: