fix: untracked dirs invisible to muse diff; add 30-test dir lifecycle suite
- plugin.py: workdir_snapshot() filters on_disk_dirs to only tracked dirs (committed or staged) — untracked dirs must not appear in diff snapshots, matching git semantics where untracked content is invisible to diff - test_directory_tracking.py: update 3 diff tests to stage dirs before diffing (tests had wrong assumption that untracked dirs show in diff) - test_dir_lifecycle.py: 30 new tests covering all 6 directory states (untracked, staged-added, clean, unstaged-deleted, staged-deleted, staged-renamed) across status/diff/add/mv/reset/commit
sha256:8b3bbc331871a67d637a5dfd8fa2dcdcf6c73b682bab4cd11fb534220913e7bc
sha
+60
~7
symbols
sha256:51e3abd622222655f2f9686eee430ded56be2914353fa80685581e60949c0fef
snapshot
+60
symbols added
~7
symbols modified
0
dead code introduced
Semantic Changes
67 symbols
+
test_mv_nonempty_dir_restages_all_files
method
method test_mv_nonempty_dir_restages_all_files L394–432
+
test_clean_when_committed_dir_unchanged
method
method test_clean_when_committed_dir_unchanged L180–187
+
test_status_text_says_nothing_to_commit
method
method test_status_text_says_nothing_to_commit L189–193
+
test_status_text_shows_deleted_directory
method
method test_status_text_shows_deleted_directory L264–272
+
test_staged_renamed_not_in_added_or_deleted
method
method test_staged_renamed_not_in_added_or_deleted L311–319
+
test_status_text_shows_renamed_directory
method
method test_status_text_shows_renamed_directory L328–335
+
test_trailing_slash_on_dest_is_cosmetic
method
method test_trailing_slash_on_dest_is_cosmetic L358–365
+
test_code_add_explicit_path_stages_deletion
method
method test_code_add_explicit_path_stages_deletion L237–244
+
test_status_text_labels_untracked_directory
method
method test_status_text_labels_untracked_directory L96–101
Older
fix: muse code add stages deleted committed empty directories
sha256:40b431ded5bfa42606e4d74ea8ca125d7baa5f554aa5bd947a291ceda330de37
All commits
Newer
feat: muse read --manifest includes directories field
sha256:68c8fd843e189a819a72c4f5c218bc0be7e61db5f380cdb7e5dc54538a43a123
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:8b3bbc331871a67d637a5dfd8fa2dcdcf6c73b682bab4cd11fb534220913e7bc --body "your comment"
No comments yet. Be the first to start the discussion.