Re: [PATCH] Change 'Deltifying objects' to 'Delta compressing objects'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 18 Oct 2007, Shawn O. Pearce wrote:

> 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.

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
-
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux