Hi all,
We use MatLab which saves data in .slx files. Those .slx files are actually zip files which contain a series of XML files.
I have been able to get git to give me a diff upon staging per https://tante.cc/2010/06/23/managing-zip-based-file-formats-in-git/
Open your ~/.gitconfig file (create if not existing already) and add the following stanza:
[diff "zip"]
textconv = unzip -c -aWhat it does is using “unzip -c -a FILENAME” to convert your zipfile into ASCII text (unzip -c unzips to STDOUT). Next thing is to create/modify the file REPOSITORY/.gitattributes and add the following
*.slx diff=zip
How do I get Fisheye and Crucible to give me the same diff for these .slx files?
Community moderators have prevented the ability to post new answers.
Hi @Philip Schlesinger,
I'm afraid this is not possible at the moment. There is an improvement suggestion raised: https://jira.atlassian.com/browse/FE-2388 to offer such funcionality as a plugin point, so it would be possible to create plugins for different formats, including Matlab. For now the issue doesn't seem highly voted though. Please cast your vote there if you haven't already and watch the issue, so you would get notified when the issue is updated.
Kind regards,
Piotr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.