mirror of
https://github.com/git/git.git
synced 2024-11-25 02:44:48 +08:00
f223824943
Adds the total pack size (including indexes) the verbose count-objects output, floored to the nearest kilobyte. Updates documentation to match this addition. Signed-off-by: Marcus Griep <marcus@griep.us> Signed-off-by: Junio C Hamano <gitster@pobox.com>
40 lines
818 B
Plaintext
40 lines
818 B
Plaintext
git-count-objects(1)
|
|
====================
|
|
|
|
NAME
|
|
----
|
|
git-count-objects - Count unpacked number of objects and their disk consumption
|
|
|
|
SYNOPSIS
|
|
--------
|
|
'git count-objects' [-v]
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
This counts the number of unpacked object files and disk space consumed by
|
|
them, to help you decide when it is a good time to repack.
|
|
|
|
|
|
OPTIONS
|
|
-------
|
|
-v::
|
|
--verbose::
|
|
In addition to the number of loose objects and disk
|
|
space consumed, it reports the number of in-pack
|
|
objects, number of packs, disk space consumed by those packs,
|
|
and number of objects that can be removed by running
|
|
`git prune-packed`.
|
|
|
|
|
|
Author
|
|
------
|
|
Written by Junio C Hamano <gitster@pobox.com>
|
|
|
|
Documentation
|
|
--------------
|
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
GIT
|
|
---
|
|
Part of the linkgit:git[1] suite
|