Sam Goldstein
Sam Goldstein
Looks like you're right. I think you can accomplish what you want with syntax like this: ``` ruby Diffy::Diff.new("foo\nbaz", "foo \nbar\n", :diff => ["-U 10000", "-w"]) ``` I'll look into...
There's isn't a clear cut way to do that with the current functionality, though there's some extensibility built in to create [custom output formats](https://github.com/samg/diffy#custom-formats). I do think there's a common...
I'd definitely be open to a pull request if someone would create one. It seems like a useful feature, though I won't have time to work on it myself in...
@bwl21 I think you suggestion is definitely possible. I considered doing this when I initially wrote diffy but found it was more straightforward to solve the problem by using `diff`....
You might be able to do this by invoking the HTML formatter directly. Something like: `Diffy::HtmlFormatter.new(myDiff)`
Currently diffy doesn't do this, though I agree it would be a nice feature. The best approach would be using the `Diffy::Diff#each` or `Diffy::Diff#inject`to do the totals, like you suggest....
@runar contributed the side-by-side functionality and might be able to take a look at this. Definitely sounds like a useful improvement, though I won't personally have time to implement it...
For this kind of functionality you may want to just drop down to using unix diff or a similar tool to generate the patch, since this is what diffy uses...
There's no newline at the end of your first 'a'. On Oct 1, 2014 10:49 AM, "axle07" [email protected] wrote: > Description on Stack Overflow: > http://stackoverflow.com/questions/26146785/diffy-does-not-recognize-unchanged-strings > > — >...
From the looks of the error message it seems like `ldiff` isn't able to find the files based on the paths you're providing. It's possible this is related to the...