Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Jul 16, 2024
1 parent e2aed07 commit 298322a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/scripts/find-regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ def get_commit_after(branch, commit):
checkout_commit(branch)
cmd = f"git checkout {commit}"
subprocess.run([cmd], shell=True)

cmd = f"git log --reverse --ancestry-path {commit}.. --format=\"%H\" | head -n 1"
print(f"cmd: {cmd}")
result = subprocess.run([cmd], shell=True, capture_output=True, text=True)
if result.returncode != 0:
print(f"stderr: {result.stderr}")
Expand Down

0 comments on commit 298322a

Please sign in to comment.