aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-count-objects.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-10-03 16:36:18 -0400
committerJunio C Hamano <gitster@pobox.com>2016-10-10 13:52:37 -0700
commit5fe849d651e259af58f29f9cfb1b1405154ffacc (patch)
tree2db0fc624b89d513744ffa04c7faa18009dd1d93 /Documentation/git-count-objects.txt
parentf7b7774f34b86fed8a2e9554a9fe865c62a0a5eb (diff)
downloadgit-5fe849d651e259af58f29f9cfb1b1405154ffacc.tar.gz
count-objects: report alternates via verbose mode
There's no way to get the list of alternates that git computes internally; our tests only infer it based on which objects are available. In addition to testing, knowing this list may be helpful for somebody debugging their alternates setup. Let's add it to the "count-objects -v" output. We could give it a separate flag, but there's not really any need. "count-objects -v" is already a debugging catch-all for the object database, its output is easily extensible to new data items, and printing the alternates is not expensive (we already had to find them to count the objects). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-count-objects.txt')
-rw-r--r--Documentation/git-count-objects.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-count-objects.txt b/Documentation/git-count-objects.txt
index 2ff35683e5..cb9b4d2e46 100644
--- a/Documentation/git-count-objects.txt
+++ b/Documentation/git-count-objects.txt
@@ -38,6 +38,11 @@ objects nor valid packs
+
size-garbage: disk space consumed by garbage files, in KiB (unless -H is
specified)
++
+alternate: absolute path of alternate object databases; may appear
+multiple times, one line per path. Note that if the path contains
+non-printable characters, it may be surrounded by double-quotes and
+contain C-style backslashed escape sequences.
-H::
--human-readable::