Permalink
Browse files

Add gitattributes.

  • Loading branch information...
1 parent c2b02b0 commit f663c0b65b2918e7aef780ea5a7195dc50b87347 @MikeMcQuaid committed Oct 30, 2013
Showing with 5 additions and 0 deletions.
  1. +1 −0 gitattributes
  2. +4 −0 gitconfig
View
@@ -0,0 +1 @@
+*.t2d diff=xml
View
@@ -15,6 +15,8 @@
[core]
# Exclude everything this file. Used for general exclusions.
excludesfile = ~/.gitignore
+ # Set attributes on files. Used for general diff improvements.
+ attributesfile = ~/.gitattributes
[help]
# Open Git help pages in the browser as HTML.
format = web
@@ -115,6 +117,8 @@
tool = opendiff
# Use the slower but better patience diff algorithm
algorithm = patience
+[diff "xml"]
+ textconv = xmllint --format --recover
[difftool "opendiff"]
# Set the OS X opendiff command name.
path = opendiff

0 comments on commit f663c0b

Please sign in to comment.