samg / diffy

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

diff_options: Remove space between U and context number #103

Closed tomas closed 4 years ago

tomas commented 5 years ago

This allows diffy to work with the Busybox diff command, which returns diff: invalid number ' 1' in its current form

TSMMark commented 4 years ago

Nice fix, thank you!

@samg Please merge this. I wasted a lot of time today debugging why this library does not work in my environment when the context option is provided.

TSMMark commented 4 years ago

Thanks!

samg commented 4 years ago

Released in https://rubygems.org/gems/diffy/versions/3.4.0. Thanks!