On Mon, Oct 03, 2016 at 11:46:32PM -0700, Jacob Keller wrote: > \On Mon, Oct 3, 2016 at 1:36 PM, Jeff King <peff@xxxxxxxx> wrote: > > 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). > > > > Makes sense. Unless there's a compelling reason you'd want to print > out these alternates *without* anything else from -v, but you can just > use grep like the test does so this seems fine to me. Yeah. I could definitely be persuaded otherwise, but I just couldn't see these being used for anything useful beyond debugging. -Peff