commit - 5e8d5945001c6818115af2f3b6691e0afacb9d00
commit + e5148b503587aff015bfa9bd5db6ff142529cc10
blob - d08ca8ce242a94adf46fcef60d73f582afbd6e6e
blob + f900fc70a7744b9d70f2d94215e529b29c91048f
--- gotadmin/gotadmin.1
+++ gotadmin/gotadmin.1
.Op Fl r Ar repository-path
.Xc
.Dl Pq alias: Cm cl
-Purge unreferenced loose objects and redundant pack files from the
-repository and display the amount of disk space which has been freed
+Repack the repository and then purge unreferenced loose objects and
+redundant pack files.
+Display the amount of disk space which has been freed
as a result.
.Pp
Unreferenced objects are present in the repository but cannot be
.Pp
If redundant copies of packed objects exist in loose form, such
redundant copies will be purged.
-If all the objects of a pack file are present in other pack files,
-the redundant pack file will be purged.
-Pack files will usually become redundant as a result of repacking the
-repository with
-.Nm
-.Cm pack Fl a .
+If all the objects of a pack file are present in a bigger pack file,
+the redundant smaller pack file will be purged.
.Pp
References in the
.Pa refs/got