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

Re: gitk-1.0 released

From
IMIngo Molnar <mingo@elte.hu>
Date
May 20, 2005, 11:33 UTC
Message-ID
<20050520113334.GA19810@elte.hu>
In-Reply-To
<17037.5109.556362.904185@cargo.ozlabs.ibm.com>
* Paul Mackerras <paulus@samba.org> wrote:
Show 12 quoted lines
> > - first window appearance on an uncached repository can be pretty slow 
> >   due to disk seeks - so it might make sense to display something (an 
> >   hourglass?) sooner - when i first started it i thought it hung. On 
> >   already cached repositories the window comes up immediately, and the 
> >   list of commits is updated dynamically.
> 
> The problem is that git-rev-tree HEAD doesn't output anything until it 
> has read all the relevant commits, which can involve a lot of disk 
> seeks.  I put the "Reading commits..." message in to indicate that 
> something was happening, but your hourglass cursor suggestion is a 
> good one.  It looks like git-rev-list might be better suited to what I 
> want, actually.

it was quite a couple of seconds to get the empty windows with the 'Reading commits...' message. It was this first period of time (5-10 seconds?) which i mistook for a hang. Perhaps this is some Tk startup slowness, not a genuine gitk issue?

> +	if {$nparents($id) > 2} {
> +	    set xt [expr {$xt + ($nparents($id) - 2) * $linespc}]
> +	}
thanks, this fix did the trick.
	Ingo
Previous: Ingo MolnarNext: Kari Hameenaho
Message 6 of 14 in “gitk-1.0 released”
  1. Paul MackerrasMay 19, 2005
  2. Ingo MolnarMay 19, 2005
  3. Ingo MolnarMay 19, 2005
  4. Paul MackerrasMay 19, 2005
  5. Ingo MolnarMay 20, 2005
  6. Ingo MolnarMay 20, 2005
  7. Kari HameenahoMay 20, 2005
  8. Linus TorvaldsMay 20, 2005
  9. Jon SeymourMay 21, 2005
  10. Linus TorvaldsMay 21, 2005
  11. Benjamin HerrenschmidtMay 19, 2005
  12. Frank SorensonMay 20, 2005
  13. waltMay 20, 2005
  14. Ingo MolnarMay 28, 2005

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.