Commit 4712c152 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

kajonggtest: ignore commits with _SILENT in message

parent a80caca6
......@@ -601,7 +601,7 @@ def improve_options():
if '^' not in OPTIONS.git:
OPTIONS.git = OPTIONS.git.replace('..', '^..')
commits = subprocess.check_output(
'git log --pretty=%h {range}'.format(
'git log --grep _SILENT --invert-grep --pretty=%h {range}'.format(
range=OPTIONS.git).split()).decode()
_ = list(x.strip() for x in commits.split('\n') if x.strip())
OPTIONS.git = list(reversed(_))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment