Commit 5e39ddd
Strip temp path prefix in clone tests for git's absolute path behavior
git clone converts relative local paths to absolute paths when storing
the remote URL. This fix strips the temp path prefix from the git remote
output before comparing, allowing the tests to verify the correct remote
names without being affected by git's path normalization.
Prompts:
- "okay, that's annoying, if you git clone ../ it does indeed make it relative. so we're going to have strip the temp path from the output. blergh."
- "nope, wrong, run the test"
- "commit"
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 195ed69 commit 5e39ddd
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2602 | 2602 | | |
2603 | 2603 | | |
2604 | 2604 | | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
2605 | 2609 | | |
2606 | 2610 | | |
2607 | 2611 | | |
| |||
2657 | 2661 | | |
2658 | 2662 | | |
2659 | 2663 | | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
2660 | 2668 | | |
2661 | 2669 | | |
2662 | 2670 | | |
| |||
0 commit comments