[IMP] remove setting of color.ui
authorxmo-odoo <xmo-odoo@users.noreply.github.com>
Sat, 17 May 2014 09:44:09 +0000 (11:44 +0200)
committerWolfgang Taferner <wtaferner@users.noreply.github.com>
Sat, 17 May 2014 14:02:15 +0000 (16:02 +0200)
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

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