Windows long-path support

scripts/enable-long-paths.ps1 checks deep repository paths.

Type: PowerShell helper
May require: Administrator approval
View source

Behavior

Jarock calculates the repository path length before setup. If the path is safe, it prints that no policy change is required. If the path is deep enough to risk the legacy Windows 260-character limit, it checks LongPathsEnabled and can request an elevated change.

SituationMessage and action
Safe pathReports that long-path policy is not required.
Already enabledReports that Windows long paths are enabled.
Needs changeShows an administrator prompt and reports success or failure.
Permission deniedStops with a suggested fix; no silent fallback is claimed.

Limitations

After a successful policy change, close and reopen the terminal if an older process still has the previous Windows environment.