aboutsummaryrefslogtreecommitdiffstats
path: root/prune-packed.c
diff options
context:
space:
mode:
Diffstat (limited to 'prune-packed.c')
-rw-r--r--prune-packed.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/prune-packed.c b/prune-packed.c
index d1c65ab10e..c1d95a519d 100644
--- a/prune-packed.c
+++ b/prune-packed.c
@@ -2,7 +2,7 @@
#include "git-compat-util.h"
#include "gettext.h"
-#include "object-store-ll.h"
+#include "object-store.h"
#include "packfile.h"
#include "progress.h"
#include "prune-packed.h"
@@ -37,7 +37,8 @@ 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_delayed_progress(_("Removing duplicate objects"), 256);
+ progress = start_delayed_progress(the_repository,
+ _("Removing duplicate objects"), 256);
for_each_loose_file_in_objdir(repo_get_object_directory(the_repository),
prune_object, NULL, prune_subdir, &opts);