Repository navigation
Commit 0aa77e4
fixup! review
The `Python package` Windows jobs fail in
`test_root_update_skips_old_url_resolution_when_remote_matches[False]`
with `AssertionError: Previous URL does not need resolving`. The fixture
writes `source.working_tree_dir` with native backslashes into `.gitmodules`,
while `git clone` stores the submodule remote URL with forward slashes.
The test therefore requests a remote change instead of exercising the
intended existing-remote shortcut.
Pass the fixture's new URL through `Git.polish_url`, matching the stored
remote on Windows as well as POSIX. The production URL resolver and
remote-change behavior do not need changing.
Validation: both targeted dry-run cases pass. An assert-based local
reproduction using backslash paths fails before this change and passes
afterwards. The relative URL tests pass (32 passed, 2 platform skips),
the offline submodule update tests pass (68 passed), and Ruff lint,
formatting, and `git diff --check` pass. Local test commits use a
command-scoped `commit.gpgSign=false` setting. Native Windows validation
is delegated to the PR CI jobs.1 parent fb5e11f commit 0aa77e4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments