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

2015-06-26 Thread Jeff King
On Fri, Jun 26, 2015 at 02:56:58AM -0400, Eric Sunshine wrote: > > +test_expect_success 'cat-file --batch-all-objects shows all objects' ' > > + # make new repos so we now the full set of objects; we will > > s/now/know/ Yeah. I don't think this series otherwise needs re-rolled. Here it is

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

2015-06-25 Thread Eric Sunshine
On Mon, Jun 22, 2015 at 6:45 AM, Jeff King 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 > --- > diff --git a/t/t1006-cat-file.sh b/t/t1006-cat-file.sh > index 93a47

[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