commit 9cd5f067bb6999514306a9f95a7bda4041ef1847 from: Stefan Sperling date: Wed Jan 05 20:14:59 2022 UTC fix amount of purged objects shown in gotadmin cleanup's final progress report commit - a075bd5b8b7057a0133a20327fd1c41c9f5bc761 commit + 9cd5f067bb6999514306a9f95a7bda4041ef1847 blob - 40af887d57530bc64cde9dbfdd26426592ae93c3 blob + 8b113ebe2c5b2c4396c8257f1d4c3bd629e9d46d --- lib/repository_admin.c +++ lib/repository_admin.c @@ -1198,8 +1198,7 @@ got_repo_purge_unreferenced_loose_objects(struct got_r /* Produce a final progress report. */ if (progress_cb) { - err = progress_cb(progress_arg, nloose, ncommits, - got_object_idset_num_elements(loose_ids)); + err = progress_cb(progress_arg, nloose, ncommits, arg.npurged); if (err) goto done; }