Re: [FEATURE REQUEST] Filter-branch extend progress with a simple estimated time remaning
- From
Gabor Bernat <bernat@primeranks.net>
- Date
- Aug 25, 2015, 20:07 UTC
- Message-ID
- <CANy2qHdiXXkz2KjUaPebApKHFiKnDxPrc+i-BP0DN07KOeS8HA@mail.gmail.com>
- In-Reply-To
- <20150825185414.GA10895@sigill.intra.peff.net>
I would lean for an extra on-demand flag for this, and a per commit measurement, initial noise is okay for the first iteration I think. Secondly note that on the output other messages could also be present (other than the rewrite), as the command running may have its own output. I will try to create a initial version just have some time for it :)
On 8/25/15, Jeff King <peff@peff.net> wrote:
Show 15 quoted lines
> On Tue, Aug 25, 2015 at 02:52:10PM -0400, Jeff King wrote:
>
>> Yeah, that would probably be a good solution, assuming there is a
>> portable "how many seconds" (I do not relish the thought of
>> reconstructing it based on the current hours/minutes/seconds).
>
> A little googling came up with:
>
> awk 'END { print systime() }' </dev/null
>
> which probably (?) works everywhere. I feel dirty just having typed
> that, though.
>
> -Peff
>-- Bernát Gábor Student - Budapest University of Technology and Economics - Computer Engineering, M.Sc. - Budapest, Hungary System Integrator - Gravity R&D | Rock Solid Recommendations - Budapest office | 5-7 Expo ter | H-1101 | Budapest | Hungary