You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(klipper-migration): optimize uncommitted changes detection with single git operation
- Replace dual git operations (git diff --cached + git diff) with single git status --porcelain
- Maintain identical error detection behavior for staged and unstaged changes
- Preserve detailed error messages listing affected files
- Improve performance by reducing git subprocess calls from two to one
- Enhance maintainability with cleaner, more readable parsing logic
- Keep same error codes: KLIPPER_STAGED_CHANGES, KLIPPER_UNCOMMITTED_CHANGES
0 commit comments