Skip to content

Commit 50b4624

Browse files
committed
Don't forget to actually check out the branch
1 parent 4f3b427 commit 50b4624

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bench_runner/git.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ def clone(
160160
subprocess.check_call(
161161
["git", "fetch", "--depth", str(depth), "origin", branch]
162162
)
163+
subprocess.check_call(["git", "checkout", branch])
163164
else:
164165
args = ["git", "clone", url, str(dirname)]
165166
if branch is not None:

0 commit comments

Comments
 (0)