add .gitattributes for Ruby method detection
commit8fe5c0d649fa930c9027df42a2de9bb23f6ef8b8
authorEric Wong <e@80x24.org>
Sat, 21 Nov 2015 01:37:24 +0000 (21 01:37 +0000)
committerEric Wong <e@80x24.org>
Sat, 21 Nov 2015 01:43:37 +0000 (21 01:43 +0000)
treef2daf10eec32f72f2195f7e6dbef1f670628473f
parent0a10915fff80ff90bdef2a905dfdc589e815aefd
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]