Re: [PATCH v2 5/5] list-objects-filter: implement filter tree:none

2018-08-13 Thread Matthew DeVore
On Mon, Aug 13, 2018 at 9:38 AM Jeff Hostetler wrote: > > > > On 8/10/2018 7:06 PM, Matthew DeVore wrote: > > Teach list-objects the "tree:none" filter which allows for filtering > > out all tree and blob objects (unless other objects are explicitly > > specified by the user). The purpose of this

Re: [PATCH v2 5/5] list-objects-filter: implement filter tree:none

2018-08-13 Thread Matthew DeVore
On Mon, Aug 13, 2018 at 11:29 AM Jonathan Tan wrote: > > > - case LOFS_BEGIN_TREE: > > - assert(obj->type == OBJ_TREE); > > - /* always include all tree objects */ > > - return LOFR_MARK_SEEN | LOFR_DO_SHOW; > > - > > case LOFS_END_TREE: > >

Re: [PATCH v2 5/5] list-objects-filter: implement filter tree:none

2018-08-13 Thread Jonathan Tan
> - case LOFS_BEGIN_TREE: > - assert(obj->type == OBJ_TREE); > - /* always include all tree objects */ > - return LOFR_MARK_SEEN | LOFR_DO_SHOW; > - > case LOFS_END_TREE: > assert(obj->type == OBJ_TREE); > return LOFR_ZERO;

Re: [PATCH v2 5/5] list-objects-filter: implement filter tree:none

2018-08-13 Thread Jeff Hostetler
On 8/10/2018 7:06 PM, Matthew DeVore wrote: Teach list-objects the "tree:none" 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 -