From cab04e7efc03cdc233c0835c8686ac821e9cbb71 Mon Sep 17 00:00:00 2001 From: gobo72 Date: Sat, 10 Sep 2011 21:53:01 +0000 Subject: [PATCH] =?utf8?q?Ajustement=20colordiffrc=20pour=20avoir=20des=20?= =?utf8?q?couleurs=20similaires=20=C3=A0=20git=20diff?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- stage3/pkg/colordiff | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stage3/pkg/colordiff b/stage3/pkg/colordiff index 7d3d10b..2c056fd 100644 --- a/stage3/pkg/colordiff +++ b/stage3/pkg/colordiff @@ -3,4 +3,10 @@ hvbuild() { PREFIX=/usr make -C ${LFS_TMP}/${PACKAGE} install + + # Replace colordiff default values to match git-diff: + sed -e "s!\(newtext=\).*!\1darkgreen!" -i /etc/colordiffrc + sed -e "s!\(oldtext=\).*!\1darkred!" -i /etc/colordiffrc + sed -e "s!\(diffstuff=\).*!\1white!" -i /etc/colordiffrc + sed -e "s!\(cvsstuff=\).*!\1darkyellow!" -i /etc/colordiffrc } -- 2.20.1