[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
This commit is contained in:
xmo-odoo 2014-05-17 11:44:09 +02:00
parent c771d1ae20
commit 59354d5bf3
1 changed files with 0 additions and 1 deletions

View File

@ -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