Created
August 27, 2011 15:29
-
-
Save magnusstahre/1175505 to your computer and use it in GitHub Desktop.
Displaying xmind files as text in git diff,blame,show etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.xmind diff=xmind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[diff "xmind"] | |
textconv = /Users/ms/bin/xmindtotxt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
unzip -p $1 content.xml|xmlstarlet fo # xmlstarlet to pretty-print the xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment