diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-11-25 21:28:22 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-27 10:57:10 +0900 |
commit | 44a4693bfcec1876b29cdaec3625819d80ea1280 (patch) | |
tree | cdfa2be639efb37f30f35351adf4f397ec12eee6 /t/t4018 | |
parent | The first batch post 2.24 cycle (diff) | |
download | tgif-44a4693bfcec1876b29cdaec3625819d80ea1280.tar.xz |
progress: create GIT_PROGRESS_DELAY
The start_delayed_progress() method is a preferred way to show
optional progress to users as it ignores steps that take less
than two seconds. However, this makes testing unreliable as tests
expect to be very fast.
In addition, users may want to decrease or increase this time
interval depending on their preferences for terminal noise.
Create the GIT_PROGRESS_DELAY environment variable to control
the delay set during start_delayed_progress(). Set the value
in some tests to guarantee their output remains consistent.
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018')
0 files changed, 0 insertions, 0 deletions