diff options
author | Jeff King <peff@peff.net> | 2016-10-03 16:36:18 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-10 13:52:37 -0700 |
commit | 5fe849d651e259af58f29f9cfb1b1405154ffacc (patch) | |
tree | 2db0fc624b89d513744ffa04c7faa18009dd1d93 /version.c | |
parent | fill_sha1_file: write into a strbuf (diff) | |
download | tgif-5fe849d651e259af58f29f9cfb1b1405154ffacc.tar.xz |
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 'version.c')
0 files changed, 0 insertions, 0 deletions