Re: [PATCH] fetch-clone progress: finishing touches.
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Feb 12, 2006, 03:01 UTC
- Message-ID
- <Pine.LNX.4.64.0602111901160.3691@g5.osdl.org>
- In-Reply-To
- <7vslqpjq2q.fsf@assigned-by-dhcp.cox.net>
On Sat, 11 Feb 2006, Junio C Hamano wrote:
Show 8 quoted lines
>
> BTW, don't you mean 512 down there???
>
> - msecs += (int)(tv.tv_usec - prev_tv.tv_usec) >> 10;
> + msecs += usec_to_binarymsec(tv.tv_usec - prev_tv.tv_usec);
> +
> if (msecs > 500) {
> prev_tv = tv;Well, it's just a random number, but if you like 512 better than 500, go wild ;)
Linus