From 8cdcf0bdca052601b277b9e64e279fdd804d882e Mon Sep 17 00:00:00 2001 From: xmo-odoo Date: Fri, 16 May 2014 15:11:40 +0200 Subject: [PATCH] [IMP] simplify color configuration * don't set globally * set for ui, not each command individually --- checkout.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/checkout.sh b/checkout.sh index f868c942a7d..5a51dd0e4da 100755 --- a/checkout.sh +++ b/checkout.sh @@ -57,9 +57,7 @@ cd $copyname git config user.name "$name" git config user.email "$email" -for key in branch diff interactive status; do - git config --global color.$key auto -done +git config color.ui auto # pre-push script preventing push to odoo repo by default. Git just execs # them, so they need a correct shebang and exec bit