about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-02-24 01:44:17 +0000
committerEric Wong <e@80x24.org>2016-02-24 02:31:50 +0000
commitbe8eb05977820c41d34f22d7a38ac31bdf3cce6d (patch)
treef55c4072e1823d2df9981f8cdaa2d2434f5ad49a
parent2a05853cfcd19514299ab99f72a8e6edcc3fcd66 (diff)
downloadraindrops-be8eb05977820c41d34f22d7a38ac31bdf3cce6d.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.
-rw-r--r--.gitattributes4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..8b88b26
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,4 @@
+*.gemspec diff=ruby
+*.rb diff=ruby
+*.ru diff=ruby
+Rakefile diff=ruby