Re: [FEATURE REQUEST] Filter-branch extend progress with a simple estimated time remaning
- From
Gabor Bernat <bernat@primeranks.net>
- Date
- Aug 29, 2015, 13:29 UTC
- Message-ID
- <CANy2qHcCDkszLeOm-aJDCvkUaFFngtEy_VN+_B46K7KTQf4_Sg@mail.gmail.com>
- In-Reply-To
- <CANy2qHd_GTxr2CsjxLiNCvdwMLtEqcmURUTfFv9+t16FMEjuiw@mail.gmail.com>
Amended, the latest version is at https://github.com/gaborbernat/git/commit/ :) Bernát GÁBOR
On Sat, Aug 29, 2015 at 11:50 AM, Gabor Bernat <bernat@primeranks.net> wrote:
Show 36 quoted lines
> Hello,
>
> Here's what I ended up using, and seemed to work well:
> https://github.com/gaborbernat/git/commit/766841bc1b726a5d6e7e051938b82975368695a0
>
> Does this looks okay, should I create a patch from this?
>
> Thanks,
> Bernát GÁBOR
>
>
> On Wed, Aug 26, 2015 at 4:15 AM, Jeff King <peff@peff.net> wrote:
>> On Tue, Aug 25, 2015 at 04:12:54PM -0400, Eric Sunshine wrote:
>>
>>> > A little googling came up with:
>>> >
>>> > awk 'END { print systime() }' </dev/null
>>> >
>>> > which probably (?) works everywhere.
>>>
>>> On Mac OS X and FreeBSD:
>>>
>>> $ awk 'END { print systime() }' </dev/null
>>> awk: calling undefined function systime
>>> source line number 1
>>> $
>>
>> Oh, well. The reference I saw was that the old Kernighan nawk had it,
>> but that seems not to be the case:
>>
>> http://www.cs.princeton.edu/~bwk/btl.mirror/
>>
>> "date +%s" seems to work on OS X, and so presumably on other BSDs. No
>> clue what would work on stuff like SunOS, AIX, etc.
>>
>> -Peff