Files
JinjingandClaude Opus 4.6 824d5d0c4c feat: add revert/discard support for untracked files in source control
- Enhance discardChanges to handle untracked files by deleting them instead of git checkout
- Add path traversal protection to prevent discarding files outside the worktree
- Extract source control action logic into getSourceControlActions helper
- Show revert button for untracked files with confirmation dialog
- Add tests for both backend and frontend logic

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 12:34:51 -07:00
..