diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-03-21 14:02:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-21 14:02:34 -0700 |
commit | f5715de54a2237025a74704cb41f5404c743a2c3 (patch) | |
tree | 38f7021336ab39c6dfdc9a46880939482f5489c5 /Documentation | |
parent | e4e1c5499056de58f7df207cf41274a321857c77 (diff) | |
parent | 1a20dd49f8c4e6c62080f267ca77b357cb61be8e (diff) | |
download | git-f5715de54a2237025a74704cb41f5404c743a2c3.tar.gz |
Merge branch 'nd/count-garbage'
"git count-objects -v" did not count leftover temporary packfiles
and other kinds of garbage.
* nd/count-garbage:
count-objects: report how much disk space taken by garbage files
count-objects: report garbage files in pack directory too
sha1_file: reorder code in prepare_packed_git_one()
git-count-objects.txt: describe each line in -v output
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-count-objects.txt | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/Documentation/git-count-objects.txt b/Documentation/git-count-objects.txt index 23c80cea64..da6e72e696 100644 --- a/Documentation/git-count-objects.txt +++ b/Documentation/git-count-objects.txt @@ -20,11 +20,23 @@ 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`. + Report in more detail: ++ +count: the number of loose objects ++ +size: disk space consumed by loose objects, in KiB ++ +in-pack: the number of in-pack objects ++ +size-pack: disk space consumed by the packs, in KiB ++ +prune-packable: the number of loose objects that are also present in +the packs. These objects could be pruned using `git prune-packed`. ++ +garbage: the number of files in object database that are not valid +loose objects nor valid packs ++ +size-garbage: disk space consumed by garbage files, in KiB GIT --- |