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

Anyone know the innards of the gitk program?

From
JDJohn M. Dlugosz <ngnr63q02@sneakemail.com>
Date
Aug 20, 2014, 08:51 UTC
Message-ID
<20938-1408524736-805990@sneakemail.com>

I knew that gitk is written in a scripting language, so I had high hopes of making a little tweak to it. But, alas, it's 12000 lines of languages I don't know!

The farthest I got was finding “text $cflist \” on line 2381 and the corroborating comment “# lower right” just above it.

What I want to accomplish is to highlight specific words in the Patch view; in particular certain path element names to indicate files I'm specifically interested in reviewing and those that I'm specifically not at all interested in.

Considering the way it works — Tk widgets — that ought to be easy. I've used Perl/Tk in the past and can look up the parameters to different element types. But I have no idea where to put such a change, or the general flow of the program in general.

Is anyone knowledgeable in the inner workings of this program willing to help me out?

I've tried a few git repository GUI programs (on Windows) and always end up gravitating back to Git Gui and gitk !

—John
Message 1 of 1 in “Anyone know the innards of the gitk program?”
  1. John M. DlugoszAug 20, 2014

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.