count-objects: Add total pack size to verbose output
[git/git.git] / Documentation / git-count-objects.txt
CommitLineData
215a7ad1
JH
1git-count-objects(1)
2====================
7fc9d69f
JH
3
4NAME
5----
c3f0baac 6git-count-objects - Count unpacked number of objects and their disk consumption
7fc9d69f
JH
7
8SYNOPSIS
9--------
b1889c36 10'git count-objects' [-v]
7fc9d69f
JH
11
12DESCRIPTION
13-----------
52a22d1e
LAS
14This counts the number of unpacked object files and disk space consumed by
15them, to help you decide when it is a good time to repack.
7fc9d69f 16
468eb79e
JH
17
18OPTIONS
19-------
20-v::
459cf2e9 21--verbose::
468eb79e
JH
22 In addition to the number of loose objects and disk
23 space consumed, it reports the number of in-pack
f2238249
MG
24 objects, number of packs, disk space consumed by those packs,
25 and number of objects that can be removed by running
26 `git prune-packed`.
468eb79e
JH
27
28
7fc9d69f
JH
29Author
30------
59eb68aa 31Written by Junio C Hamano <gitster@pobox.com>
7fc9d69f
JH
32
33Documentation
34--------------
35Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
36
37GIT
38---
9e1f0a85 39Part of the linkgit:git[1] suite