From: Christian Weisgerber Subject: Re: gotadmin pack/cleanup leave loose objects To: gameoftrees@openbsd.org Date: Fri, 11 Feb 2022 14:22:41 +0100 Stefan Sperling: > By default, gotadmin cl keeps loose objects if their modification time > lies within 10 minutes before the youngest reference in the repository > was created. This is the "implementation-defined modification timestamp" > mentioned in the man page. > Depending on how you prepared your test repository a lot of objects > could have a timestamp within this window. I see. Yes, that works out as expected: $ apply gotadmin info 'pack -a' 'cl -a' info repository: /usr/obj/test1.git pack files: 0 loose objects: 2077090 loose total size: 6.9G packing 2 references; 2077090 objects; deltify: 100%; writing pack: 2.5G 100% Wrote 4af24944f7cce82e0131fdd19ae21d0a3f30a0a2.pack 2.5G packed; indexing 100%; resolving deltas 100% Indexed 4af24944f7cce82e0131fdd19ae21d0a3f30a0a2.pack 2077090 loose objects; 218189 commits scanned; 2077090 objects purged loose total size before: 6.9G loose total size after: 0B disk space freed: 6.9G loose objects also found in pack files: 2077090 repository: /usr/obj/test1.git pack files: 1 packed objects: 2077090 packed total size: 2.5G loose objects: 0 -- Christian "naddy" Weisgerber naddy@mips.inka.de