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
Is it possible to integrate Difftastic #11618
Comments
Short answer: No However, #11590 enables use of git diff coloring instead of the GE "engine". That is still in "patch" format. It could maybe be possible to display difftastic/delta/diff-so-fancy as a "display only" alternative view too. For instance line numbers in GE will likely be missing. |
Thanks for the fast answer. Looking forward how #11590 works out. A "display only" viewer would be cool, so one could switch between the GE diff and one or more "display only" viewers (perhaps via a dropdown) |
+1 for this feature request |
1 similar comment
+1 for this feature request |
I have played around a little with this. Regardless, this will be a major hack. -- Git word diff Difftastic Some design/usage questions Invocation:
Configuration: Integration: Some options can be set with options or env var |
Can we not convert this task into something like - configure custom merge and diff tool? |
GE uses the GUI tools you have configured in setting git-config This is about using the text output from command line tools. |
It has been made like that because diffstatic is a command line tool that a custom output text and so require a specific handling.
It's seems that intellij diff/merge is a graphical tool that could already be integrated as a git diff/merge tool using command line or through git extension setting panel. You should explain a little more in details why it is not possible and what should be improved. If it's just that the command line arguments are lacking in git extensions (it is right), it just needs to be added but is no way related to diffstatic (complex) integration. |
Sorry to add: if it is the case, so it is not the right place to discuss about it and you should open another issue. |
An update pushed to tmp/git-coloring. There are some parsing issues, Difftastic is not intended to be used this way. But the output is quite useful. |
Feature description
I'm not sure if this is a feature request or a bug.
I use the Open Source tool Difftastic and have the executable (difft.exe) in a location covered by my PATH variable, so I can call it anywhere by the executable name (difft).
If I now set in my gitconfig the following:
[diff]
external = difft
The diff area in gitextensions is now completely empty (in the branch view and the commit area)
I have no idea how the diff ui is implemented in gitextensions and if such a integration is even possible. Apparently you pick up the setting otherwise the window would not be empty if I set it.
Environment
The text was updated successfully, but these errors were encountered: