Path recovery: rename/skip Windows-invalid paths (#2) #17

Merged
KofTwentyTwo merged 1 commits from dev into main 2026-07-03 15:43:53 +00:00
1 Commits
Author SHA1 Message Date
James MaesandClaude Fable 5 2d164fc7e7 Path recovery: rename/skip invalid Windows paths on clone (#2)
- Clones hitting invalid paths keep the fetched repo (marker config
  gclo.checkoutpending) instead of deleting it — recovery needs no
  re-download; pulls on marker repos revalidate instead of silently
  reporting Done with an empty working tree
- ApplyRecoveryAsync materializes HEAD manually with renames/skips
  (gitattributes filters honored via FilteringOptions), validates the
  effective path set incl. mapping collisions, persists the recovery
  in .git/gclo-recovery.json, and re-applies it to new commits on pull
- GUI: per-row "Resolve..." opens a dialog with editable suggested
  names and skip checkboxes; progress payload carries the path details
- CLI: --sanitize-paths auto-applies suggestions for scripted runs
- 21 new tests (111 total)

Closes #2

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 10:39:06 -05:00