Marco Savo
Marco Savo

Reputation: 141

gitk unknown color name "lime"

with git 2.13 gitk fails to start for an unknown color name "lime". Some old fix was to replace "lime" with a string, but there is no such "lime" anywhere in this latest code of git. How would you fix it?

gitk --version

Error in startup script: unknown color name "lime"

(processing "-fore" option)

invoked from within "$ctext tag conf m2 -fore [lindex $mergecolors 2]"

(procedure "makewindow" line 347)

invoked from within "makewindow"

(file "/usr/bin/gitk" line 12548)

Upvotes: 1

Views: 913

Answers (1)

Marco Savo
Marco Savo

Reputation: 141

Never mind, I found out: There is a config file for gitk (who set this???) just change all occurrences of "lime":

vi ~/.config/git/gitk

:%s/lime/"#99FF00"/g

Upvotes: 1

Related Questions