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
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user