fix
patch
muse cat
task/stage-blob-phase-2
#1 / 1
fix(muse cat): error on untracked files; read staged blobs from object store
FILE_NOT_TRACKED replaces the silent disk-read for files that exist on disk but are not in the HEAD manifest or stage index. Staged-but-uncommitted files (mode A/M) are now readable via the stage blob. TestCatDiskFallback removed — it asserted the wrong behavior.
sha256:9c08a486cef1d8092132dd96eb724dbd97d3654f61114a1fd6acadbb882d2a91
sha
+15
~1
−5
symbols
sha256:516ee26e5bd5b0c92213cc33e3878c755c0faa9552777084ce8d3eed6cbdf0cb
snapshot
+15
symbols added
~1
symbol modified
−5
symbols removed
0
dead code introduced
Semantic Changes
21 symbols
−
test_untracked_file_json_returns_content
method
method test_untracked_file_json_returns_content L656–662
+
test_staged_but_not_on_disk_reads_from_store
method
method test_staged_but_not_on_disk_reads_from_store L587–600
+
test_staged_file_json_content_matches_blob
method
method test_staged_file_json_content_matches_blob L602–613
+
test_untracked_on_disk_does_not_leak_content
method
method test_untracked_on_disk_does_not_leak_content L539–545
+
test_untracked_on_disk_json_does_not_leak_content
method
method test_untracked_on_disk_json_does_not_leak_content L547–552
+
test_untracked_on_disk_json_error_code_is_file_not_tracked
method
method test_untracked_on_disk_json_error_code_is_file_not_tracked L530–537
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:9c08a486cef1d8092132dd96eb724dbd97d3654f61114a1fd6acadbb882d2a91 --body "your comment"
No comments yet. Be the first to start the discussion.