El 19/10/2007, a las 5:45, Shawn O. Pearce escribió:
Nicolas Pitre <nico@xxxxxxx> wrote:
And imagine that you see the progress moving slowly because the
remote
server is a NSLU2, but it says 80%. Then you go for a coffee and the
progress says 20% when you return because it now has moved to a
different phase. Rather counter intuitive.
Yea, I didn't consider that. That's where you need to show the
number of steps and which one you are on, so the meter looks
more like:
Step 1/3: Counting objects: .... \r
Step 2/4: Compressing objects: ... \r
Step 3/3: Writing objects: .... \r
only all smashed into one line of course, so only the most recent
one is being displayed.
Looks good, although as Nicholas pointed out you might not know in
advanced how many steps there are.
So I still think that Nicholas' original point is valid is here, and
if you overwrite old progress bars with new ones then you may falsely
give the impression of "going backwards".
Cheers,
Wincent
-
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