Re: git log, outputs something weird for colors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 12, 2009 at 2:33 PM, mark <markkicks@xxxxxxxxx> wrote:
> On Mon, Jan 12, 2009 at 2:28 PM, Jacob Helwig <jacob.helwig@xxxxxxxxx> wrote:
>> On Mon, Jan 12, 2009 at 13:51, mark <markkicks@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
>>> 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!
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux