Permalink
Browse files

Make git smarter when generating ruby diffs and turn on autocorrection

  • Loading branch information...
1 parent b285296 commit 46647e10234c2c0d1dbeca8f45ac5931b13fd541 @leto committed Mar 28, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 config/.gitconfig
View
6 config/.gitconfig
@@ -70,6 +70,9 @@
[diff]
rename = copy
+[diff "ruby"]
+ funcname="^ *\\(\\(class\\|module\\|def\\) .*\\)"
+
[color]
ui = auto
diff = auto
@@ -100,6 +103,9 @@
smtpuser = jaleto@gmail.com
smtpssl = true
+[help]
+ autocorrect = 1
+
[rebase]
stat = 1
[github]

0 comments on commit 46647e1

Please sign in to comment.