From: Steffen Prohaska Date: Sun, 28 Oct 2007 07:36:10 GMT Subject: Re: New features in gitk Message-ID: <5209A0B4-520E-4EC2-9901-C83C34652313@zib.de> In-Reply-To: <18212.13862.637991.30536@cargo.ozlabs.ibm.com> On Oct 28, 2007, at 8:11 AM, Paul Mackerras wrote: > Linus Torvalds writes: > >> However, that crazy green bar chasing back-and-forth int he "reading" >> phase is really quite visually distracting. Maybe it looks better in >> Tk8.5, but it does look pretty annoying in the version I have. Can >> you >> tone that down a bit? I have the same impression. > Yeah. Actually what I'd like is to know how many commits git log is > going to give me, so that I can do a normal progress bar whose length > is proportional to commits_read / total_commits. Can you use something like a rotating wheel, if the total size of the task is unknown. Or if you know an upper bound on the number of expected commits, you could use this as total_commits. And adjust the upper bound if more information becomes available. Or you just print the number of commits already read and the user is happy because something is changing. Steffen