feat: staged directory renames shown as renamed in muse status
- stage.py: add dir_renames field to StageIndex; add read_stage_dir_renames(); write_stage() accepts optional dir_renames param (preserves existing when None) - mv.py: record rename pair in stage when moving a directory; collapse rename chains (A→B then B→C becomes A→C in the stored map) - plugin.py: read and validate staged dir renames in stage_status; expose as staged_renamed in DirStatus; exclude renamed dirs from staged_added/deleted - domain.py: add staged_renamed field to DirStatus TypedDict - status.py: fold staged_renamed into renamed (JSON), staged.renamed, and text output ('renamed directory: foobar/ → test/')
sha256:8c872e4dffa2db45a9629956256fa1c99a3d2ff33b80c055252e58d94a0e8d1b
sha
+3
~15
symbols
sha256:0182de99c06f4ecb11d17df63d142a325c9207cd18bc68d85feb20aadaad4c6b
snapshot
+3
symbols added
~15
symbols modified
0
dead code introduced
Older
feat: muse mv supports directories; fix staged_deleted dirs in status
sha256:94c593758c9f8d75fc1c8020e7d62a93305ce1478afb82d2db272bd7c1702714
All commits
Newer
feat: muse diff shows staged dir renames as R not A+D
sha256:9ef531ff8cf89d5fa4f90b6558383ffe3c7f5edfb02feaf77071cbca71f33fcb
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:8c872e4dffa2db45a9629956256fa1c99a3d2ff33b80c055252e58d94a0e8d1b --body "your comment"
No comments yet. Be the first to start the discussion.