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:
parent
e42e0f2e2a
commit
d347ee0e91
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user