From 59354d5bf3a4afdb0faaf1d8bbd147ddf67e9ae4 Mon Sep 17 00:00:00 2001 From: xmo-odoo Date: Sat, 17 May 2014 11:44:09 +0200 Subject: [PATCH] [IMP] remove setting of color.ui After further considering PR #21's arguments, the setup script should not go around setting `color.ui`: * it shouldn't be needed for recent gits with default compile settings[0] * it may override advanced users's own colour configuration/ customisations (or disabling) * it forces default colours on users for which it may be useless (colour- blind) or even detrimental (other vision impairments) * some linux distributions apparently default to idiotic pagers which can't handle ANSI colour codes by default and spew garbage to the terminal [0] https://github.com/git/git/blob/master/Documentation/RelNotes/1.8.4.txt#L178-L180 --- checkout.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/checkout.sh b/checkout.sh index 5a51dd0e4da..0955508a178 100755 --- a/checkout.sh +++ b/checkout.sh @@ -57,7 +57,6 @@ cd $copyname git config user.name "$name" git config user.email "$email" -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