Commit db5d069
Refresh vendored compact_index when COMPACT_INDEX_REF is set
Previously the install_vendored_compact_index short-circuit only checked
whether `tmp/compact_index/lib/compact_index.rb` existed, so once any ref
was vendored a subsequent `COMPACT_INDEX_REF=<sha> bin/rspec ...` kept
serving the stale copy. Drop the vendor tree first when the env var is
explicitly set so an override always re-fetches against the requested
ref.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent d8536e1 commit db5d069
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 86 | | |
89 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
0 commit comments