commit 219faa299243f26361a9990660a20a5f68a8bfab from: Stefan Sperling date: Tue Jan 21 17:09:09 2025 UTC update gotadmin cleanup documentation to mention repacking commit - 518bbd3ad2c805e8968efc0d11c36340d1bf1c61 commit + 219faa299243f26361a9990660a20a5f68a8bfab blob - d08ca8ce242a94adf46fcef60d73f582afbd6e6e blob + f900fc70a7744b9d70f2d94215e529b29c91048f --- gotadmin/gotadmin.1 +++ gotadmin/gotadmin.1 @@ -264,8 +264,9 @@ and a break-down of the number of objects per object t .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 @@ -290,12 +291,8 @@ Packed objects are stored in pack files under .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