Open Wilfred opened 2 years ago
Would love to contribute a fix here @Wilfred . There are a few ways about this:
try_into
fails there) and then parse the header on-the-fly when we print it out.diff_file_content
(which has enough params as is if I may say so).read_or_die
to return an Option<Vec<u8>>
, as None
means there is no file and an empty vec means the file exists, but is emptyThoughts?
This is also the case when an empty file is removed from the repository. I think a better message would be “empty file added” or “empty file removed”.