Re: [PATCH v11 8/8] list-objects-filter: implement filter tree:0

2018-10-08 Thread Matthew DeVore
On Sat, Oct 6, 2018 at 5:10 PM Junio C Hamano wrote: > > As output made inside test_expect_{succcess,failure} are discarded > by default and shown while debugging tests, there is no strong > reason to use "grep -q" in our tests. I saw a few instances of > "grep -q" added in this series including

Re: [PATCH v11 8/8] list-objects-filter: implement filter tree:0

2018-10-06 Thread Junio C Hamano
Matthew DeVore writes: > The name "tree:0" allows later filtering based on depth, i.e. "tree:1" > would filter out all but the root tree and blobs. In order to avoid > confusion between 0 and capital O, the documentation was worded in a > somewhat round-about way that also hints at this future im

[PATCH v11 8/8] list-objects-filter: implement filter tree:0

2018-10-05 Thread Matthew DeVore
Teach list-objects the "tree:0" filter which allows for filtering out all tree and blob objects (unless other objects are explicitly specified by the user). The purpose of this patch is to allow smaller partial clones. The name of this filter - tree:0 - does not explicitly specify that it also fil