about summary refs log tree commit homepage
path: root/.gitattributes
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-12-13 22:32:58 +0000
committerEric Wong <e@80x24.org>2015-12-13 22:32:58 +0000
commit0ffe20a3310e2c98c49034d2135ac41069d2fd85 (patch)
tree9ce3a510b299b050a0d34d548f3bd98a2225ca56 /.gitattributes
parentecba8611b666e5f3c01ca8c8ae6516090110f337 (diff)
downloadyahns-0ffe20a3310e2c98c49034d2135ac41069d2fd85.tar.gz
The "diff" function detection for C does not map well to
Ruby files, take advantage of gitattributes(5) to improve
method name detection in generated patches as well as
making "git diff -W" output more useful.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..21e0bd4
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,5 @@
+*.gemspec diff=ruby
+*.rb diff=ruby
+*.ru diff=ruby
+Rakefile diff=ruby
+bin/* diff=ruby