From: Giuseppe Bilotta Date: Sat, 2 Aug 2008 12:17:03 +0000 (+0200) Subject: + tell git that *.rb files are Ruby scripts X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=bb5a8c4152f41a6f725e24f513ab845296ca0205;hp=750ec27187e0b528e315657d020b68ba1bde8d90;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git + 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. --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..8d269533 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.rb diff=ruby