Skip to content

Commit 0bdaa12

Browse files
pcloudsgitster
authored andcommitted
git-count-objects.txt: describe each line in -v output
The current description requires a bit of guessing (what clause corresponds to what printed line?) and lacks information, such as the unit of size and size-pack. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent a923c31 commit 0bdaa12

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

Documentation/git-count-objects.txt

+15-5
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,21 @@ OPTIONS
2020
-------
2121
-v::
2222
--verbose::
23-
In addition to the number of loose objects and disk
24-
space consumed, it reports the number of in-pack
25-
objects, number of packs, disk space consumed by those packs,
26-
and number of objects that can be removed by running
27-
`git prune-packed`.
23+
Report in more detail:
24+
+
25+
count: the number of loose objects
26+
+
27+
size: disk space consumed by loose objects, in KiB
28+
+
29+
in-pack: the number of in-pack objects
30+
+
31+
size-pack: disk space consumed by the packs, in KiB
32+
+
33+
prune-packable: the number of loose objects that are also present in
34+
the packs. These objects could be pruned using `git prune-packed`.
35+
+
36+
garbage: the number of files in loose object database that are not
37+
valid loose objects
2838

2939
GIT
3040
---

0 commit comments

Comments
 (0)