Interface for using external diffing tools #4777
Replies: 2 comments 3 replies
-
difftastic parses files and diffs abstract syntax trees (ASTs), so it can generate nicer diffs than the default of just diffing raw lines/characters. I wanted to use difftastic system-wide by putting this in my
but this causes Magit's diff highlighting to stop working when looking at previous commits or stashes. Magit just displays difftastic's output as-is and doesn't show colors (which difftastic outputs). So it's unusable, I have to pick either Magit or difftastic. |
Beta Was this translation helpful? Give feedback.
-
I hope that this summer or fall I will finally get around to looking at difftastic more closely. |
Beta Was this translation helpful? Give feedback.
-
Tassilo Horn wrote a fantastic blog post about getting difftastic output into magit. After some private discussion with them and others, I was wondering if we could open a discussion about formalizing an interface with magit so that external diff tools could be used as plugins. From the discussion, some design points came up:
This discussion is just to open up dialog about how welcomed an interface like this would be. Or perhaps this is part of a larger system of having a plugin api in general.
Beta Was this translation helpful? Give feedback.
All reactions