From: Shawn Pearce Date: Sat, 28 Oct 2006 06:51:43 GMT Subject: Re: [PATCH] Add git-count-packs, like git-count-objects. Message-ID: <20061028065143.GA14607@spearce.org> In-Reply-To: <7v8xj1axlm.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > Shawn Pearce writes: > > > Now that we are starting to save packs rather than unpacking into > > loose objects its nice to have a way to list the number of current > > packs and their total size. This can help the user in deciding > > when its time to run `git repack -a -d`. > > Why not just do "ls -lh $GIT_OBJECT_DIR/pack/pack-*.pack"??? Because whatever we decide to use to make a pack 'active' may not be that simple. Whatever. It was clearly a very tiny patch put together quickly before dinner tonight, perhaps not worth including at this point. Lets see what comes out of the other pack oriented discussion first. --