From: Junio C Hamano Date: Sat, 28 Oct 2006 04:11:17 GMT Subject: Re: [PATCH] Add git-count-packs, like git-count-objects. Message-ID: <7v8xj1axlm.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20061028040056.GA14191@spearce.org> 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"???