Default color for commit hash in git-log is unreadable on bright background, and can't be changed.
- From
- Fyn Fynn <fynfynn@gmail.com>
- Date
- Mar 24, 2009, 21:16 UTC
- Message-ID
- <1a04eebf0903241416g67e7abfdh6b3aa746f12b0e83@mail.gmail.com>
Hi folks.
I'm latest stable git (1.6.2) on a bright background terminal.
Unfortunately, the default text foreground color for the "commit <HASH>" line of git-log is 3 - yellow. And yellow writing is not very readable on bright background. Of course, I could customize color 3 at the terminal letter to be darker, but that breaks everything else that uses color 3 as a background highlight (vim, ack, etc.)
I've scoured the man pages, but haven't found any way to set the color for that line in .gitconfig.
So, I suggest that this should be considered a bug. At the very least, there should be an easy way to set that color for all us using a bright background terminal - the default Gnome Terminal, the default Terminal.app, and generally the default on many systems.
Is there any good solution for this that I missed?
Thanks,
Fynn