aboutsummaryrefslogtreecommitdiff
path: root/builtin/prune.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-08-24 10:20:02 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-24 10:20:02 -0700
commitd33a43323676e110b2ad78c9baa54ec424d40d6b (patch)
tree555a797278ae14639bc7a56641dc629b657949f8 /builtin/prune.c
parent6ea13d88456c116b14c3bc756993b5f462c981cb (diff)
parent8aade107dd84dcaff3f23caae80a013878db2de7 (diff)
downloadgit-d33a43323676e110b2ad78c9baa54ec424d40d6b.tar.gz
git-d33a43323676e110b2ad78c9baa54ec424d40d6b.tar.xz
Merge branch 'jc/simplify-progress'
The API to start showing progress meter after a short delay has been simplified. * jc/simplify-progress: progress: simplify "delayed" progress API
Diffstat (limited to 'builtin/prune.c')
-rw-r--r--builtin/prune.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/prune.c b/builtin/prune.c
index c37869054..cddabf26a 100644
--- a/builtin/prune.c
+++ b/builtin/prune.c
@@ -138,7 +138,7 @@ int cmd_prune(int argc, const char **argv, const char *prefix)
if (show_progress == -1)
show_progress = isatty(2);
if (show_progress)
- progress = start_progress_delay(_("Checking connectivity"), 0, 0, 2);
+ progress = start_delayed_progress(_("Checking connectivity"), 0);
mark_reachable_objects(&revs, 1, expire, progress);
stop_progress(&progress);