summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-11-11 22:56:37 +0200
committerAlon Levy <alon@pobox.com>2014-11-11 22:56:37 +0200
commit11c0789ae6e5b0e8e91c55d36a64ce27cd533265 (patch)
treeae5188be373f464e9de3c380e747402c5e61c4df /.gitattributes
parentc2e930bd9a19a6a10cc54985f51c9446a817e024 (diff)
add .gitattributes for better js diff
you need to add to $HOME/.gitconfig [diff "js"] xfuncname = ".*\\<function\\>.*"
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..65f997bc
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+*.js diff=js