add .gitattributes for Ruby method detection
commit8b359d35e0b452c532a2634805dca047775bcb56
authorEric Wong <e@80x24.org>
Wed, 31 Aug 2016 02:16:44 +0000 (31 02:16 +0000)
committerEric Wong <e@80x24.org>
Wed, 31 Aug 2016 02:48:17 +0000 (31 02:48 +0000)
tree5fe646361c288013c5c125773f347e1192489df9
parent622d5ab17846bc58c2e0cfd98b3a8b73ad341c0d
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]