Commit 8d9c128
test/gitindex: assert clone URL changes no longer rewrite remote origin
After removing remote.origin.url sync from existing-clone updates, keep an explicit regression check that captures the behavior boundary.
The integration test now changes the clone URL during a metadata update and verifies remote.origin.url remains at the originally cloned value while zoekt config still updates and triggers a destination return.
Test Plan: go test ./...
Amp-Thread-ID: https://ampcode.com/threads/T-019d0c05-51b0-77ee-a1dc-cb60ce14712d
Co-authored-by: Amp <amp@ampcode.com>1 parent 5a8c9b5 commit 8d9c128
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
115 | | - | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
0 commit comments