On Sat, Aug 29, 2015 at 9:29 AM, Gabor Bernat <ber...@primeranks.net> wrote:
> Amended, the latest version is at https://github.com/gaborbernat/git/commit/ 
> :)
> Does this looks okay, should I create a patch from this?

Excerpt:

    now=$(date +%s)
    elapsed=$(($now - $start))
    remaining_second=$((...))
    eta=$(($now + $remaining_second))
    finish_by=$(date -d "@$eta")

Unfortunately, -d is not portable. On Mac OS X and FreeBSD, -d sets
the kernel's value for Daylight Saving Time, rather than displaying
the specified time as in Linux.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to