Skip to content

Commit 66b230c

Browse files
committed
fixes
1 parent 98680f1 commit 66b230c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

commit0/harness/spec.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ def make_repo_script_list(self) -> list[str]:
182182
"""
183183
specs = self.instance["setup"]
184184
repo = self.instance["repo"]
185-
env_setup_commit = self.instance["reference_commit"]
186185
version = int(str(specs["python"]).split(".")[-1])
187186
if version < 7:
188187
specs["python"] = 3.7
@@ -191,7 +190,6 @@ def make_repo_script_list(self) -> list[str]:
191190
f"git clone -o origin https://github.com/{repo} {self.repo_directory}",
192191
f"chmod -R 777 {self.repo_directory}", # So nonroot user can run tests
193192
f"cd {self.repo_directory}",
194-
f"git reset --hard {env_setup_commit}",
195193
# Remove the remote so the agent won't see newer commits.
196194
"git remote remove origin",
197195
f"uv venv --python {specs['python']}",

0 commit comments

Comments
 (0)