diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-02 14:17:03 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-02 14:17:03 +0200 |
commit | bb5a8c4152f41a6f725e24f513ab845296ca0205 (patch) | |
tree | 3a9997157d41d47f1eaa705ad57d06a0b3764bc5 | |
parent | 750ec27187e0b528e315657d020b68ba1bde8d90 (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.
-rw-r--r-- | .gitattributes | 1 |
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 |