config: detect Windows cache/data directory case overlap #61

Open
github-bot wants to merge 1 commit from github-bot/gh-61 into main AGit
Owner

@⁠LouisRiverstone on GitHub · 2026-11-25 21:22 UTC · original
LouisRiverstone:fix/windows-directory-case-overlap → main · +67 −1 · 2 files · 1 commits · open

Fixes #55.

Summary

  • compare resolved path components case-insensitively on Windows
  • preserve exact component comparison on other platforms
  • keep sibling paths such as cache/cache-old accepted

Tests

  • cargo test -p victory-core
  • cargo check -p victory-core --target x86_64-pc-windows-msvc

Added Windows-specific config regressions for equal, nested, accented, and sibling paths.

**@⁠LouisRiverstone** on GitHub · 2026-11-25 21:22 UTC · [original](https://github.com/uiliannn/VItoriaBr/pull/61) `LouisRiverstone:fix/windows-directory-case-overlap` → `main` · +67 −1 · 2 files · 1 commits · open Fixes #55. ## Summary - compare resolved path components case-insensitively on Windows - preserve exact component comparison on other platforms - keep sibling paths such as cache/cache-old accepted ## Tests - cargo test -p victory-core - cargo check -p victory-core --target x86_64-pc-windows-msvc Added Windows-specific config regressions for equal, nested, accented, and sibling paths.
Compare resolved path components case-insensitively on Windows so cache/data overlap is rejected even when nonexistent tail components differ only in capitalization.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:42:49 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/61/head:github-bot/gh-61'
git switch 'github-bot/gh-61'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-61'
git switch 'github-bot/gh-61'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-61'
git switch 'github-bot/gh-61'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-61'
git switch 'main'
git merge --squash 'github-bot/gh-61'
git switch 'main'
git merge --ff-only 'github-bot/gh-61'
git switch 'main'
git merge 'github-bot/gh-61'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.