Browse files

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

  • Loading branch information...
1 parent bf6b654 commit 23561ce655853b885f2bd8cc65bdefd4291595ab @fxn fxn committed Mar 16, 2016
Showing with 2 additions and 0 deletions.
  1. +2 −0 .gitattributes
@@ -0,0 +1,2 @@
+*.rb diff=ruby
+*.gemspec diff=ruby

0 comments on commit 23561ce

Please sign in to comment.