diff options
author | Eric Wong <e@80x24.org> | 2015-11-21 01:37:24 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-11-21 01:43:37 +0000 |
commit | 8fe5c0d649fa930c9027df42a2de9bb23f6ef8b8 (patch) | |
tree | f2daf10eec32f72f2195f7e6dbef1f670628473f | |
parent | 0a10915fff80ff90bdef2a905dfdc589e815aefd (diff) | |
download | rainbows-8fe5c0d649fa930c9027df42a2de9bb23f6ef8b8.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-- | .gitattributes | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..21e0bd4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +*.gemspec diff=ruby +*.rb diff=ruby +*.ru diff=ruby +Rakefile diff=ruby +bin/* diff=ruby |