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