summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxmo-odoo <xmo-odoo@users.noreply.github.com>2014-05-16 15:11:40 +0200
committerxmo-odoo <xmo-odoo@users.noreply.github.com>2014-05-16 15:11:40 +0200
commit8cdcf0bdca052601b277b9e64e279fdd804d882e (patch)
treed7d24b010a10dc46f6ebb2a294e38d200037daa4
parent4b4b452cad279004bb22a9dde9d1b2d9e16a0879 (diff)
[IMP] simplify color configuration
* don't set globally * set for ui, not each command individually
-rwxr-xr-xcheckout.sh4
1 files changed, 1 insertions, 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