about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-08-31 02:16:44 +0000
committerEric Wong <e@80x24.org>2016-08-31 02:48:17 +0000
commit8b359d35e0b452c532a2634805dca047775bcb56 (patch)
tree5fe646361c288013c5c125773f347e1192489df9
parent622d5ab17846bc58c2e0cfd98b3a8b73ad341c0d (diff)
downloadmogilefs-client-8b359d35e0b452c532a2634805dca047775bcb56.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