Skip to content

Instantly share code, notes, and snippets.

@magnusstahre
Created August 27, 2011 15:29
Show Gist options
  • Save magnusstahre/1175505 to your computer and use it in GitHub Desktop.
Save magnusstahre/1175505 to your computer and use it in GitHub Desktop.
Displaying xmind files as text in git diff,blame,show etc.
*.xmind diff=xmind
[diff "xmind"]
textconv = /Users/ms/bin/xmindtotxt
#!/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