]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
+ tell git that *.rb files are Ruby scripts
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 2 Aug 2008 12:17:03 +0000 (14:17 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 2 Aug 2008 12:17:03 +0000 (14:17 +0200)
Recent git versions allow custom hunk headers when using diff, so tell
git to use the ruby funcname for diffs on *.rb files.

.gitattributes [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..8d26953
--- /dev/null
@@ -0,0 +1 @@
+*.rb   diff=ruby