-
Notifications
You must be signed in to change notification settings - Fork 395
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
🚀 Integration with Graphtage or Difftastic #535
Comments
Hi @boris-petrov sorry to be so slow replying to this one. Can you be explicit about what sort of integration might make sense? It doesn't look like graphtage produces diff format AFAICS. So are you thinking of any of the following?
|
FYI there's a project similar to delta that does exactly this (in Rust): Maybe there's some inspiration to take here? |
Right, difftastic looks great. I'd seen it before and meant to look more closely. One form of integration there could perhaps be difftastic emitting JSON and delta displaying it. |
Is the support for difftastic available? |
Not as far as I know. Looks like one path would be if a PR like this one is merged in difftastic: Wilfred/difftastic#158 and then someone implements rendering of that JSON in delta. Delta already renders |
Ok thanks for the info. As far as I know, JSON is not the fastest to parse, right? Maybe something more raw would be better. 🤷🏽 |
I don't think that's an issue. Parsing JSON can be very fast. And diffing is way more expensive than any parsing could be |
The PR on |
Hi @dandavison, Based on the recent discussion at Delta Issue #535, it seems there might be an opportunity to address the support issue with difftastic. While I am not highly familiar with Rust, I am eager to contribute to this effort. If you could guide me on which parts of the code require modifications, I would be delighted to make a commit. Thank you for your assistance and insight. |
I stumbled upon Graphtage and found it a cool idea. It would be nice if
delta
could integrate it (and other projects like it - "semantic diffs") for specific file types. What do you think?The text was updated successfully, but these errors were encountered: