git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Default color for commit hash in git-log is unreadable on bright  background, and can't be changed.
@ 2009-03-24 21:16 Fyn Fynn
  2009-03-24 21:48 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Fyn Fynn @ 2009-03-24 21:16 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Default color for commit hash in git-log is unreadable on bright background, and can't be changed.
  2009-03-24 21:16 Default color for commit hash in git-log is unreadable on bright background, and can't be changed Fyn Fynn
@ 2009-03-24 21:48 ` Junio C Hamano
  2009-03-24 22:07   ` Fyn Fynn
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2009-03-24 21:48 UTC (permalink / raw)
  To: Fyn Fynn; +Cc: git

Fyn Fynn <fynfynn@gmail.com> writes:

> Unfortunately, the default text foreground color for the "commit
> <HASH>" line of git-log is 3 - yellow.
> ...
> Is there any good solution for this that I missed?

Perhaps...

$ git config color.diff.commmit cyan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Default color for commit hash in git-log is unreadable on bright  background, and can't be changed.
  2009-03-24 21:48 ` Junio C Hamano
@ 2009-03-24 22:07   ` Fyn Fynn
  0 siblings, 0 replies; 3+ messages in thread
From: Fyn Fynn @ 2009-03-24 22:07 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Thanks a lot, Junio. That's exactly what I needed.

Seeing that you can customize the color so easily, this whole thing is
a non-issue.

Cheers and thanks for making git awesome,

Fynn

On Tue, Mar 24, 2009 at 2:48 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Fyn Fynn <fynfynn@gmail.com> writes:
>
>> Unfortunately, the default text foreground color for the "commit
>> <HASH>" line of git-log is 3 - yellow.
>> ...
>> Is there any good solution for this that I missed?
>
> Perhaps...
>
> $ git config color.diff.commmit cyan
>
>
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-24 22:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 21:16 Default color for commit hash in git-log is unreadable on bright background, and can't be changed Fyn Fynn
2009-03-24 21:48 ` Junio C Hamano
2009-03-24 22:07   ` Fyn Fynn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).