summaryrefslogtreecommitdiff
path: root/builtin/log.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/log.c
parent6ea13d88456c116b14c3bc756993b5f462c981cb (diff)
parent8aade107dd84dcaff3f23caae80a013878db2de7 (diff)
downloadgit-d33a43323676e110b2ad78c9baa54ec424d40d6b.tar.gz
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/log.c')
-rw-r--r--builtin/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/log.c b/builtin/log.c
index 25c0808409..f8cccbc964 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -1759,7 +1759,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
rev.add_signoff = do_signoff;
if (show_progress)
- progress = start_progress_delay(_("Generating patches"), total, 0, 2);
+ progress = start_delayed_progress(_("Generating patches"), total);
while (0 <= --nr) {
int shown;
display_progress(progress, total - nr);