threads / bug / 10265

[bug] gitk can not read history if diff color is enabled

Subject: [bug] gitk can not read history if diff color is enabled

## tl;dr

3 messages between Oct 13, 2007 and Oct 13, 2007.

replies: 2people: 3as markdown or json

Mike Sharov· Oct 13, 2007, 14:18 UTC · lore

Reproduced in git version 1.5.3.4.217.gbfc1, although it's been this way for a while. To see the bug, enable color diff with

[diff] color

and launch gitk on any repository (like the Linux kernel tree). The result is a dialog box "Can't parse git log output '\x1b[33mcommit" etc. qgit can still view the history without errors, so I guess it must be possible to somehow turn off color for a specific query.

-- 
Mike
msharov@users.sourceforge.net
Johannes Schindelin· Oct 13, 2007, 14:43 UTC · re: Mike Sharov · lore

Re: [bug] gitk can not read history if diff color is enabled

Hi,
On Sat, 13 Oct 2007, Mike Sharov wrote:
Show 7 quoted lines
> Reproduced in git version 1.5.3.4.217.gbfc1, although it's been this way
> for a while. To see the bug, enable color diff with
> 
> [diff]
> color
> 
> and launch gitk on any repository (like the Linux kernel tree).
Thanks for the bug report.

This is fixed in http://hjemli.net/git/git/log/?h=q/mb/gitk/log--no-color (which will be applied without any doubt once our king penguin comes back).

Ciao, Dscho

Michele Ballabio· Oct 13, 2007, 14:49 UTC · re: Mike Sharov · lore

Re: [bug] gitk can not read history if diff color is enabled

On Saturday 13 October 2007, Mike Sharov wrote:
Show 10 quoted lines
> Reproduced in git version 1.5.3.4.217.gbfc1, although it's been this way
> for a while. To see the bug, enable color diff with
> 
> [diff]
> color
> 
> and launch gitk on any repository (like the Linux kernel tree). The
> result is a dialog box "Can't parse git log output '\x1b[33mcommit" etc.
> qgit can still view the history without errors, so I guess it must be
> possible to somehow turn off color for a specific query.
A patch was posted, and is queued here:
	http://hjemli.net/git/git/commit/?h=q/mb/gitk/log--no-color

← back to recent threads