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

gitk: clicking a branch line doesn't stop patch generator

From
Johannes Sixt <j.sixt@eudaptics.com>
Date
May 24, 2007, 09:39 UTC
Message-ID
<46555D5F.87A3CE93@eudaptics.com>
Hi!

When a commit is highlighted, git-show or equivalent is spawned to fill the patch window. When a different commit is highlighted, appearently if git-show is still running, it is killed and a new one is started.

However, if a branch line is clicked, a running git-show is not killed, hence its output is appended below the "Parent" and "Child" sections.

To reproduce, fire up gitk without arguments on git.git. Go all the way down to the initial commit and select "Diff this->selected" from the context menu, then quickly click on a line between two commits.

Unless your machine is blazingly fast, you will see that patch text is appended below the "Child" section. Try with linux-2.6.git if git.git is too small a project.

-- Hannes
Message 1 of 1 in “gitk: clicking a branch line doesn't stop patch generator”
  1. Johannes SixtMay 24, 2007

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.