Commit 07ad9d3
committed
fix: fetch base_commit in shallow clone to enable git reset
The shallow clone only fetches the latest commit, but the setup scripts
need access to both env_setup_commit (reference_commit) and base_commit
for the git reset operations.
- Commit0Spec: Fetch both env_setup_commit and base_commit before
removing remote
- SWEBenchSpec: Fetch base_commit needed for eval script reset
Co-authored-by: openhands <openhands@all-hands.dev>1 parent 157a4ff commit 07ad9d3
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| 224 | + | |
223 | 225 | | |
224 | 226 | | |
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| 231 | + | |
| 232 | + | |
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| |||
0 commit comments