4 Commits

Author SHA1 Message Date
Alex Shvartzkop 523b1eb992 Set git workdir to project path so we don't have to copy the project files to .history
See https://gitlab.com/kicad/code/kicad/-/issues/22588
2026-01-16 02:17:34 +03:00
Seth Hillbrand a3acf25262 Rework local history for safer backup
- Prompt before removing any files
- Check directory for additional files
2025-10-27 18:11:17 -07:00
Seth Hillbrand 3238d43b94 Make RestoreCommit safer
Track success and rollback changes if anything fails
2025-10-23 15:48:35 -07:00
Seth Hillbrand 3a3205071b Add: local history protections
Uses lockfile to prevent overlapping commits
Ensure restore happens recursively
Remove files added after restore point
Prevent duplicate savers from overrunning each other
2025-10-23 15:48:35 -07:00