add .gitattributes for Ruby method detection
commitbe8eb05977820c41d34f22d7a38ac31bdf3cce6d
authorEric Wong <e@80x24.org>
Wed, 24 Feb 2016 01:44:17 +0000 (24 01:44 +0000)
committerEric Wong <e@80x24.org>
Wed, 24 Feb 2016 02:31:50 +0000 (24 02:31 +0000)
treef55c4072e1823d2df9981f8cdaa2d2434f5ad49a
parent2a05853cfcd19514299ab99f72a8e6edcc3fcd66
add .gitattributes for Ruby method detection

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.
.gitattributes [new file with mode: 0644]