mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-15 20:24:27 +00:00
After system crash, file contents are often truncated or filled with zeros. If a file was truncated to empty, it can be decoded successfully and we'll get cryptic "is a directory" error because of an empty view ID. We should instead report data corruption with the ID of the corrupted file. #4423