-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow diff command to be overriden #63
Comments
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 the near future. |
We constantly have trouble with the external diff command, as it depends on user's installation which in big companies is not under full control of the user :-) Would it be possible to have a mode which does not use an external diff command but integrates the code from lcs-diff ldiff? |
@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 Looking back through the source code it is possible to override the diff command used via an |
@samg I investigated the sources of diffy and discovered Further on it opens another ruby sub process which is again somehow slow (it takes about 1 sec). Therefore, we search for a better Integration which does not use a subprocess. |
Since different diff implementation support different feature sets (e.g. BSD find vs. GNU find), it would be helpful if one could chose which find binary is used. Could this feature be added?
The text was updated successfully, but these errors were encountered: