summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-08-02 14:17:03 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-08-02 14:17:03 +0200
commitbb5a8c4152f41a6f725e24f513ab845296ca0205 (patch)
tree3a9997157d41d47f1eaa705ad57d06a0b3764bc5 /.gitattributes
parent750ec27187e0b528e315657d020b68ba1bde8d90 (diff)
+ tell git that *.rb files are Ruby scripts
Recent git versions allow custom hunk headers when using diff, so tell git to use the ruby funcname for diffs on *.rb files.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..8d269533
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+*.rb diff=ruby