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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html