Repository navigation
Commit 0e2e106
committed
test(create-objectstack): converge the third GIT_* allowlist carrier onto gitFreeEnv()
The hand-maintained ten-name `GIT_*` location allowlist survived in one more
file after the two spec carriers were converged. It is retired here the same
way, so the repo carries one spelling of the strip and no transitional state.
`REPO_READ_ENV` is now `gitFreeEnv()`. The blanket strip is strictly wider than
the list it replaces and stays inside the boundary this file's header draws: it
DELETES keys rather than pinning any to `/dev/null`, so it never sets
`GIT_CONFIG_GLOBAL` and global/system config -- `safe.directory` with it --
stays open. Both children here are local reads against `cwd` (`ls-files` and
`git grep`), so the transport settings the strip also removes are nothing
either one needs. The `:42-54` prose is kept: it records why this carrier stops
short of the fixture harnesses' `/dev/null` config pins.
The import is a relative ES-module specifier that escapes the package, which
forces two companion declarations -- `scripts/cross-package-test-inputs.mjs`
and `turbo.json` -- so a change to the strip re-runs this package's suite
instead of replaying a cached green over it. Measured before they landed: the
gate named `scripts/git-env.mjs` and exited 1.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QCdUBjM47SxioST9z5Zwdf1 parent 8271c81 commit 0e2e106
3 files changed
Lines changed: 42 additions & 17 deletions
File tree
- packages/create-objectstack/src
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
67 | 78 | | |
68 | 79 | | |
69 | 80 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 81 | + | |
75 | 82 | | |
76 | 83 | | |
77 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1393 | 1393 | | |
1394 | 1394 | | |
1395 | 1395 | | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
1396 | 1413 | | |
1397 | 1414 | | |
1398 | 1415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| 505 | + | |
505 | 506 | | |
506 | 507 | | |
507 | 508 | | |
| |||
0 commit comments