From 11963d2af5acc9e798198e57a6fa63bffa958bc8 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Fri, 7 Oct 2016 10:31:59 +0200 Subject: [PATCH] [git]Add 2.9 feature to have nicer diff --- .gitconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitconfig b/.gitconfig index e1cbbdf..cfc8ee9 100644 --- a/.gitconfig +++ b/.gitconfig @@ -44,6 +44,7 @@ prompt = false [diff] tool = meld + compactionHeuristic = true [mergetool "meld"] path = /usr/bin/meld trustExitCode = false @@ -67,3 +68,9 @@ [rerere] enabled = true +[pager] + log = /usr/share/git/diff-highlight/diff-highlight | less + show = /usr/share/git/diff-highlight/diff-highlight | less + diff = /usr/share/git/diff-highlight/diff-highlight | less +[interactive] + diffFilter = /usr/share/git/diff-highlight/diff-highlight