samg / diffy

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

Fallback to `ldiff` on Windows? #48

Closed sshaw closed 10 years ago

sshaw commented 10 years ago

Just a thought: On WIndows it may be worthwhile checking for ldiff as a lot of people use rspec and rspec depends on diff-lcs. May be feckless too. What do you think?

samg commented 10 years ago

This seems reasonable. I wasn't aware of ldiff. Perhaps there could also be the option to specify the diff executable through an api or env variable. Diffy's assumption would have to be that the executable provides the same interface as diff which looks like it's the case for ldiff.