commit 52af279be5111c88a19197896b4e2a36645a657ac095436ce07b30a6f07528cb from: Stefan Sperling date: Tue Jan 21 17:09:09 2025 UTC update gotadmin cleanup documentation to mention repacking commit - 8b6df408ec71c741db5d012766d3591c0fe339196327a72747903140aba69fe7 commit + 52af279be5111c88a19197896b4e2a36645a657ac095436ce07b30a6f07528cb blob - a5fdeb42c43ee9811aa9e3d874fd7a607cf3210ecff6da73a283b7dd522867d8 blob + 0be3af68f37851a4d75e82fb917b607c22d1e625cfe6716d8ccc7dcaedad6256 --- 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