All of lore.kernel.org
 help / color / mirror / Atom feed
* no luck with colors for branch names in gitk yet
@ 2016-02-05 20:48 Britton Kerin
  2016-02-05 21:25 ` Philip Oakley
  0 siblings, 1 reply; 4+ messages in thread
From: Britton Kerin @ 2016-02-05 20:48 UTC (permalink / raw)
  To: git

Someone suggested using color.branch.upstream, I tried like this and variants

[color "branch"]
  local = red bold
  upstream = red bold

Doesn't seem to matter what I put in for upstream, including invalid
colors, gitk just ignores it and does the dark green for local
branches

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

* Re: no luck with colors for branch names in gitk yet
  2016-02-05 20:48 no luck with colors for branch names in gitk yet Britton Kerin
@ 2016-02-05 21:25 ` Philip Oakley
  2016-02-05 22:29   ` Britton Kerin
  0 siblings, 1 reply; 4+ messages in thread
From: Philip Oakley @ 2016-02-05 21:25 UTC (permalink / raw)
  To: Britton Kerin; +Cc: git

From: "Britton Kerin" <britton.kerin@gmail.com>
> Someone suggested using color.branch.upstream, I tried like this and 
> variants
>
> [color "branch"]
>  local = red bold
>  upstream = red bold
>
> Doesn't seem to matter what I put in for upstream, including invalid
> colors, gitk just ignores it and does the dark green for local
> branches
> --
Alternate, try
https://github.com/oumu/mintty-color-schemes/blob/master/base16-mintty/base16-default.minttyrc
(or any of the other colour schemes) and copy them into your .minttyrc file
(works for me on g4w : git version 2.7.0.windows.1 )

--

Philip 

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

* Re: no luck with colors for branch names in gitk yet
  2016-02-05 21:25 ` Philip Oakley
@ 2016-02-05 22:29   ` Britton Kerin
  2016-02-05 23:28     ` John Keeping
  0 siblings, 1 reply; 4+ messages in thread
From: Britton Kerin @ 2016-02-05 22:29 UTC (permalink / raw)
  To: Philip Oakley; +Cc: git

On Fri, Feb 5, 2016 at 12:25 PM, Philip Oakley <philipoakley@iee.org> wrote:
> From: "Britton Kerin" <britton.kerin@gmail.com>
>>
>> Someone suggested using color.branch.upstream, I tried like this and
>> variants
>>
>> [color "branch"]
>>  local = red bold
>>  upstream = red bold
>>
>> Doesn't seem to matter what I put in for upstream, including invalid
>> colors, gitk just ignores it and does the dark green for local
>> branches
>> --
>
> Alternate, try
> https://github.com/oumu/mintty-color-schemes/blob/master/base16-mintty/base16-default.minttyrc
> (or any of the other colour schemes) and copy them into your .minttyrc file
> (works for me on g4w : git version 2.7.0.windows.1 )

I'm on linux so I think mintty is not an option.  Also, I'm a little
surprised in affects the rendering of branch tags in gitk, I would
have thought that would be an X or window system thing.

Britton

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

* Re: no luck with colors for branch names in gitk yet
  2016-02-05 22:29   ` Britton Kerin
@ 2016-02-05 23:28     ` John Keeping
  0 siblings, 0 replies; 4+ messages in thread
From: John Keeping @ 2016-02-05 23:28 UTC (permalink / raw)
  To: Britton Kerin; +Cc: Philip Oakley, git, Paul Mackerras

On Fri, Feb 05, 2016 at 01:29:26PM -0900, Britton Kerin wrote:
> On Fri, Feb 5, 2016 at 12:25 PM, Philip Oakley <philipoakley@iee.org> wrote:
> > From: "Britton Kerin" <britton.kerin@gmail.com>
> >>
> >> Someone suggested using color.branch.upstream, I tried like this and
> >> variants
> >>
> >> [color "branch"]
> >>  local = red bold
> >>  upstream = red bold
> >>
> >> Doesn't seem to matter what I put in for upstream, including invalid
> >> colors, gitk just ignores it and does the dark green for local
> >> branches
> >> --
> >
> > Alternate, try
> > https://github.com/oumu/mintty-color-schemes/blob/master/base16-mintty/base16-default.minttyrc
> > (or any of the other colour schemes) and copy them into your .minttyrc file
> > (works for me on g4w : git version 2.7.0.windows.1 )
> 
> I'm on linux so I think mintty is not an option.  Also, I'm a little
> surprised in affects the rendering of branch tags in gitk, I would
> have thought that would be an X or window system thing.

I think Philip missed that you were talking about gitk.  It seems that
the problem comes from updating to Tcl/Tk 7.6, which makes green darker
as described in commit 66db14c (gitk: Color name update, 2015-10-25) and
by TIP #403 [1].

However, it seems that gitk won't actually use the updated colour if you
have an existing ~/.gitk file.  You can just replace "green" with "lime"
in that file to get the new defaults, but I wonder if we should force
that for users who already have the previous defaults saved.


[1] http://www.tcl.tk/cgi-bin/tct/tip/403.html

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

end of thread, other threads:[~2016-02-05 23:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-05 20:48 no luck with colors for branch names in gitk yet Britton Kerin
2016-02-05 21:25 ` Philip Oakley
2016-02-05 22:29   ` Britton Kerin
2016-02-05 23:28     ` John Keeping

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.