From: Simon Ruderich Date: Sat, 11 Aug 2012 02:59:03 +0000 (+0200) Subject: gitconfig: Add diff color settings. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=b4e9b1aff251df56fe6a4e610a81588cfce1c8d6;p=config%2Fdotfiles.git gitconfig: Add diff color settings. Similar to my `colordiff` setup. --- diff --git a/gitconfig.m4 b/gitconfig.m4 index 91e1f3d..2d70efb 100644 --- a/gitconfig.m4 +++ b/gitconfig.m4 @@ -26,6 +26,20 @@ include(../lib.m4) [color] ui = auto +[color "diff"] + # Meta information. + meta = yellow bold + # Hunk header. + frag = magenta bold + # Function in hunk header. + function = magenta bold + # Removed lines. + old = red bold + # Added lines. + new = green bold + # Commit headers. + commit = cyan + [core] editor = vim # Can't use ~/ because of older git versions.