git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git log, outputs something weird for colors
@ 2009-01-12 21:51 mark
  2009-01-12 22:28 ` Jacob Helwig
  0 siblings, 1 reply; 4+ messages in thread
From: mark @ 2009-01-12 21:51 UTC (permalink / raw)
  To: git

hi
i am using kde konsole, and i am getting weird output for colors, for
example for git log i get the following output


git log
ESC[33mcommit 8b918256d944221f741e5d7300873810e31466a6ESC[m


settings in my bash and git.

export | grep -i term
declare -x TERM="xterm-256color"


~/.gitconfig
[color]
 branch = auto
 diff = auto
 status = auto

do you know what is wrong?
thanks

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

* Re: git log, outputs something weird for colors
  2009-01-12 21:51 git log, outputs something weird for colors mark
@ 2009-01-12 22:28 ` Jacob Helwig
  2009-01-12 22:33   ` mark
  0 siblings, 1 reply; 4+ messages in thread
From: Jacob Helwig @ 2009-01-12 22:28 UTC (permalink / raw)
  To: mark; +Cc: git

On Mon, Jan 12, 2009 at 13:51, mark <markkicks@gmail.com> wrote:
> hi
> i am using kde konsole, and i am getting weird output for colors, for
> example for git log i get the following output
>
>
> git log
> ESC[33mcommit 8b918256d944221f741e5d7300873810e31466a6ESC[m
>
>
> settings in my bash and git.
>
> export | grep -i term
> declare -x TERM="xterm-256color"
>
>
> ~/.gitconfig
> [color]
>  branch = auto
>  diff = auto
>  status = auto
>
> do you know what is wrong?
> thanks
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

I don't have any problems with Konsole and git's coloring, but my TERM
is set to "xterm", not "xterm-256color".

-Jacob

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

* Re: git log, outputs something weird for colors
  2009-01-12 22:28 ` Jacob Helwig
@ 2009-01-12 22:33   ` mark
  2009-01-12 22:38     ` mark
  0 siblings, 1 reply; 4+ messages in thread
From: mark @ 2009-01-12 22:33 UTC (permalink / raw)
  To: Jacob Helwig; +Cc: git, kde

On Mon, Jan 12, 2009 at 2:28 PM, Jacob Helwig <jacob.helwig@gmail.com> wrote:
> On Mon, Jan 12, 2009 at 13:51, mark <markkicks@gmail.com> wrote:
>> hi
>> i am using kde konsole, and i am getting weird output for colors, for
>> example for git log i get the following output
>>
>>
>> git log
>> ESC[33mcommit 8b918256d944221f741e5d7300873810e31466a6ESC[m
>>
>>
>> settings in my bash and git.
>>
>> export | grep -i term
>> declare -x TERM="xterm-256color"
>>
>>
>> ~/.gitconfig
>> [color]
>>  branch = auto
>>  diff = auto
>>  status = auto
>>
>> do you know what is wrong?
>> thanks
>> --
>> To unsubscribe from this list: send the line "unsubscribe git" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
> I don't have any problems with Konsole and git's coloring, but my TERM
> is set to "xterm", not "xterm-256color".

even xterm does not work for me!
but git status, and git branch give the correct color. the problem is
only with git log!
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

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

* Re: git log, outputs something weird for colors
  2009-01-12 22:33   ` mark
@ 2009-01-12 22:38     ` mark
  0 siblings, 0 replies; 4+ messages in thread
From: mark @ 2009-01-12 22:38 UTC (permalink / raw)
  To: Jacob Helwig; +Cc: git, kde

On Mon, Jan 12, 2009 at 2:33 PM, mark <markkicks@gmail.com> wrote:
> On Mon, Jan 12, 2009 at 2:28 PM, Jacob Helwig <jacob.helwig@gmail.com> wrote:
>> On Mon, Jan 12, 2009 at 13:51, mark <markkicks@gmail.com> wrote:
>>> hi
>>> i am using kde konsole, and i am getting weird output for colors, for
>>> example for git log i get the following output
>>>
>>>
>>> git log
>>> ESC[33mcommit 8b918256d944221f741e5d7300873810e31466a6ESC[m
>>>
>>>
>>> settings in my bash and git.
>>>
>>> export | grep -i term
>>> declare -x TERM="xterm-256color"
>>>
>>>
>>> ~/.gitconfig
>>> [color]
>>>  branch = auto
>>>  diff = auto
>>>  status = auto
>>>
>>> do you know what is wrong?
>>> thanks
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe git" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>>
>> I don't have any problems with Konsole and git's coloring, but my TERM
>> is set to "xterm", not "xterm-256color".
>
> even xterm does not work for me!
> but git status, and git branch give the correct color. the problem is
> only with git log!
>
this helped!

http://git.or.cz/gitwiki/GitFaq#head-678310c22f3e4a233d348bdde55a3e4cb7368ee9

i had LESS=-Q set on my .bashrc, commenting that out produces nice
colors for git log!
thanks all!
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

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

end of thread, other threads:[~2009-01-12 22:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-12 21:51 git log, outputs something weird for colors mark
2009-01-12 22:28 ` Jacob Helwig
2009-01-12 22:33   ` mark
2009-01-12 22:38     ` mark

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).