Files
git/progress.c
Johannes Sixt ddb51d3baf Make the progress indicator work when the total runtime is unknown.
In order to allow progress indication when the total runtime is unknown,
as well as if the total runtime is so long that the progress indicator
stays at the same percentage for more than a second, an update of the
indicator is forced every second.

On Unix a time signal is received, which forces the update.

On Windows we don't have signals. For this reason, a thread is spawned
that forces the update every second.
2007-05-24 09:28:07 +02:00

3.7 KiB