Skip to content

Commit 3dc4b69

Browse files
committed
make evaluate commit id correct
1 parent 987bd34 commit 3dc4b69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

commit0/harness/run_pytest_ids.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ def main(
9090
# Check if it's a local branch
9191
if branch in local_repo.branches:
9292
commit_id = local_repo.commit(branch).hexsha
93+
if local_repo.commit(branch).hexsha != local_repo.commit().hexsha:
94+
commit_id = local_repo.commit().hexsha
9395
else:
9496
found_remote_branch = False
9597
for remote in local_repo.remotes:

0 commit comments

Comments
 (0)