Re: [PATCH 7/7] cat-file: add --batch-all-objects option

2015-06-26 Thread Eric Sunshine
On Mon, Jun 22, 2015 at 6:45 AM, Jeff King p...@peff.net wrote: [...] This patch adds an option to cat-file --batch-check to operate on all available objects (rather than reading names from stdin). Signed-off-by: Jeff King p...@peff.net --- diff --git a/t/t1006-cat-file.sh

[PATCH 7/7] cat-file: add --batch-all-objects option

2015-06-22 Thread Jeff King
It can sometimes be useful to examine all objects in the repository. Normally this is done with git rev-list --all --objects, but: 1. That shows only reachable objects. You may want to look at all available objects. 2. It's slow. We actually open each object to walk the graph. If