diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-08-24 10:20:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-24 10:20:02 -0700 |
commit | d33a43323676e110b2ad78c9baa54ec424d40d6b (patch) | |
tree | 555a797278ae14639bc7a56641dc629b657949f8 /builtin/prune-packed.c | |
parent | Merge branch 'tc/curl-with-backports' (diff) | |
parent | progress: simplify "delayed" progress API (diff) | |
download | tgif-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-packed.c')
-rw-r--r-- | builtin/prune-packed.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/prune-packed.c b/builtin/prune-packed.c index ac978ad401..8f41f7c20e 100644 --- a/builtin/prune-packed.c +++ b/builtin/prune-packed.c @@ -37,8 +37,7 @@ static int prune_object(const struct object_id *oid, const char *path, void prune_packed_objects(int opts) { if (opts & PRUNE_PACKED_VERBOSE) - progress = start_progress_delay(_("Removing duplicate objects"), - 256, 95, 2); + progress = start_delayed_progress(_("Removing duplicate objects"), 256); for_each_loose_file_in_objdir(get_object_directory(), prune_object, NULL, prune_subdir, &opts); |