Repository navigation
Commit 66d2ed4
test(server): isolate workspace fixture git commands from caller repo
Git hooks export GIT_DIR, GIT_INDEX_FILE and related variables. The
fixture helper inherited them, so commands like the submodule test's
commit could target the caller's repository. Unset repository-location
variables for every fixture git command.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 497c515 commit 66d2ed4
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
59 | 69 | | |
60 | 70 | | |
61 | 71 | | |
| |||
64 | 74 | | |
65 | 75 | | |
66 | 76 | | |
67 | | - | |
| 77 | + | |
68 | 78 | | |
69 | 79 | | |
70 | 80 | | |
| |||
352 | 362 | | |
353 | 363 | | |
354 | 364 | | |
355 | | - | |
356 | 365 | | |
357 | 366 | | |
358 | 367 | | |
| |||
0 commit comments