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

Re: [PATCH] git-gui: fix ANSI-color parsing

From
Pat Thoyts <patthoyts@users.sourceforge.net>
Date
Nov 19, 2010, 09:34 UTC
Message-ID
<87sjyxhd2v.fsf@fox.patthoyts.tk>
In-Reply-To
<1289815233-11391-1-git-send-email-bert.wesarg@googlemail.com>
Bert Wesarg <bert.wesarg@googlemail.com> writes:
Show 7 quoted lines
>git diff always outputs color reset commands, even when the color for the
>current part is disabled (ie. normal). But the current ANSI-color parsing code
>assumes that color start and reset commands appear in matching pairs.
>
>Relax this assumption.
>
>Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Thanks for this. Applied to git-gui repository.
-- 
Pat Thoyts                            http://www.patthoyts.tk/
PGP fingerprint 2C 6E 98 07 2C 59 C8 97  10 CE 11 E6 04 E0 B9 DD
Previous: Bert Wesarg
Message 2 of 2 in “git-gui: fix ANSI-color parsing”
  1. git-gui: fix ANSI-color parsingBert Wesarg, Nov 15, 2010
  2. Pat ThoytsNov 19, 2010

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.