git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git log, outputs something weird for colors

From
Jacob Helwig <jacob.helwig@gmail.com>
Date
Jan 12, 2009, 22:28 UTC
Message-ID
<8c9a060901121428j37ff6699g7af264f79829b6de@mail.gmail.com>
In-Reply-To
<82fa9e310901121351y22feaf21rfb880bcd0d6cb1a3@mail.gmail.com>
On Mon, Jan 12, 2009 at 13:51, mark <markkicks@gmail.com> wrote:
Show 28 quoted lines
> 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
Previous: markNext: mark
Message 2 of 4 in “git log, outputs something weird for colors”
  1. markJan 12, 2009
  2. Jacob HelwigJan 12, 2009
  3. markJan 12, 2009
  4. markJan 12, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.