Permalink
Browse files

Fixed git diff colors

git diff uses less to display its results. If less isn't configured to use `-R`
then the colors won't work properly. Added pager = less -R to core section of
gitconfig.
  • Loading branch information...
1 parent 8cb331a commit 05e99522b24f287f94c33db6304165e26ac60f93 @zanshin committed Jan 12, 2016
Showing with 1 addition and 0 deletions.
  1. +1 −0 git/gitconfig
View
@@ -31,6 +31,7 @@
safecrlf = warn
excludesfile = /Users/mark/.gitignore_global
quotepath = false
+ pager = less -R
[diff]
tool = vimdiff

0 comments on commit 05e9952

Please sign in to comment.