[IMP] simplify color configuration

* don't set globally
* set for ui, not each command individually
This commit is contained in:
xmo-odoo
2014-05-16 15:11:40 +02:00
parent 4b4b452cad
commit 8cdcf0bdca
+1 -3
View File
@@ -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