Skip to content
Snippets Groups Projects
Commit 59354d5b authored by Xavier Morel's avatar Xavier Morel
Browse files

[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
parent c771d1ae
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment