Skip to contentSkip to conversation

gitk can not read history if diff color is enabled

bug Mike Sharov 3 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Mike
[email protected]
#1 lore raw
Quoted 10 lines · Mike Sharov

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