summaryrefslogtreecommitdiff
path: root/builtin/prune-packed.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-08-24 10:20:02 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-24 10:20:02 -0700
commitd33a43323676e110b2ad78c9baa54ec424d40d6b (patch)
tree555a797278ae14639bc7a56641dc629b657949f8 /builtin/prune-packed.c
parentMerge branch 'tc/curl-with-backports' (diff)
parentprogress: simplify "delayed" progress API (diff)
downloadtgif-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.c3
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);