On 2010-03-19 Jonathan Nieder wrote: > Trent W. Buck wrote: > > As a rough-and-ready way to get a compression estimate for -9 vs. > > the default, I'm in the habit of doing running both with -v for a > > few minutes, then interrupting them. > > > > Unfortunately, ^C changes the ETA from e.g. "3 h 20 min" to "0:17" > > -- presumably because it's estimating the time to delete the > > incomplete file. I'd prefer if this didn't happen.
I thought it would be useful to see how long it had been working especially when it fails due to corrupt input when decompressing. Your use case is at least as important. It would probably be best to have both estimate and elapsed time there, or maybe leave the estimate there only when the "error" was the user pressing C-c. Showing both estimate and remaining time would need reworking the progress message line so that all the info would fit into 80 chars. > - message_progress_end(success); > + if (success) > + message_progress_end(success); The patch won't work correctly, because progress_active would be left to true. -- Lasse Collin | IRC: Larhzu @ IRCnet & Freenode -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org