samg / diffy

Easy Diffing in Ruby
http://rubygems.org/gems/diffy
MIT License
1.27k stars 104 forks source link

:source => 'file' and missing files #108

Open jaymzh opened 4 years ago

jaymzh commented 4 years ago

Currently if you diff a new file against a file that doesn't exist, it tells you there's no difference. I assume it's swallowing an error somewhere.

What would be great is an option equivalent to -N to diff to treat absent files as empty so you still get a diff.