[IMP] simplify color configuration
authorxmo-odoo <xmo-odoo@users.noreply.github.com>
Fri, 16 May 2014 13:11:40 +0000 (15:11 +0200)
committerxmo-odoo <xmo-odoo@users.noreply.github.com>
Fri, 16 May 2014 13:11:40 +0000 (15:11 +0200)
* don't set globally
* set for ui, not each command individually

checkout.sh

index f868c94..5a51dd0 100755 (executable)
@@ -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