0

I am using git (bitbucket) for source control. I develop on IBM integration bus and some of its files like mappings, message flows, etc.. are best viewed graphically. (example: https://transformatech.files.wordpress.com/2013/01/blog-localenv-messageflow-v7.jpg)

I was wondering if there is a tool for comparing the changes side by side, displayed in a graphic view, because as text those files aren't so meaningful.

Thanks!

octo-developer
  • 181
  • 1
  • 1
  • 10
  • So you're basically asking how to do graphical git diff on non-textual files? – everton Feb 22 '18 at 16:28
  • Exactly. Is there a tool/ add-on for that? – octo-developer Feb 22 '18 at 16:29
  • That would be up to whatever application knows how to parse your file. Git only understands binary blobs (which can only be diffed by their hash) and text files (which are diffed line-by-line). If your application doesn't have any sort of diff functionality, your best bet would be to open two instances of said application, one viewing the old file and one viewing the new, and compare that way. – 0x5453 Feb 22 '18 at 16:39
  • github supports multiple formats for visual diffing, even some 3d formats. some visual formats also have a text based encoding ( svg for example ), and so text diffing can still be helpful to an extend. – Willem D'Haeseleer Feb 22 '18 at 17:09
  • 1
    There are many tools to do [visual comparison](https://en.wikipedia.org/wiki/Visual_comparison). Like [this script](http://varya.me/en/posts/image-diffs-with-git/) — it uses `compare` from [ImageMagick](https://www.imagemagick.org/script/compare.php). – phd Feb 22 '18 at 17:14
  • Hey, That is not what I have asked for (it's not a duplicate for: https://stackoverflow.com/questions/255202/how-do-i-view-git-diff-output-with-my-preferred-diff-tool-viewer). Im aware that you can choose another diff tool when comparing in git, the question is where can I find such tool. I would like to see side by side the diffrences between the message flows / mapping nodes that has changed (IIB development) as it should be displayed, and not in a textual way. example for msgFlow: https://transformatech.files.wordpress.com/2013/01/blog-localenv-messageflow-v7.jpg – octo-developer Mar 03 '18 at 18:00

0 Answers0