rails/.gitattributes
Xavier Noria 23561ce655 adds .gitattributes to enable Ruby-awareness
This configuration improves git diff, git log -p -W, git grep -p, ...,
and allows to inspect the history of a method with a command like

    git log -L:new_constants_in:activesupport/lib/active_support/dependencies.rb

Let me also appeal to authority by saying it is present in the Ruby
repository as well

    https://github.com/ruby/ruby/blob/trunk/.gitattributes

:)
2016-03-16 11:15:22 +01:00

3 lines
35 B
Plaintext

*.rb diff=ruby
*.gemspec diff=ruby