Re: [PATCH] Change 'Deltifying objects' to 'Delta compressing objects'
From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:43:43
On Thu, 18 Oct 2007, Shawn O. Pearce wrote:
Nicolas Pitre [off-list ref] wrote:quoted
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.
Yet you might not know in advance how many steps there'll be. You might or might not have the deltification phase (I simply can't let that term go...), pack indexing also have 1 or 2 steps, and if objects are unpacked instead then you have only one step. Given the asynchronous nature of the sideband messages, I think that could only create messed up displays. Some messages are terminated with \n and others with \r. Nicolas