about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-12-13 12:36:11 +0000
committerEric Wong <e@80x24.org>2015-12-13 12:36:35 +0000
commitf9ac7481be209778c4558ac008bd2b58f836f6fd (patch)
treecb83d45680a48e824d185f77f64a24f0b174bd05
parentd3cf61b05d9507e7b6ea5a1a1192e107a8612049 (diff)
downloaddtas-f9ac7481be209778c4558ac008bd2b58f836f6fd.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..cfedc1f
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,4 @@
+*.gemspec diff=ruby
+*.rb diff=ruby
+Rakefile diff=ruby
+bin/* diff=ruby