This is a follow-up to the original patchset at https://public-inbox.org/git/cover.1539298957.git.matvore@xxxxxxxxxx/ - the purpose of that patchset and this one is to support positive integers for tree:<depth>. Some of the prior patchset's patches were either already queued (tree traversal optimization) or abandoned (documentation edit). This rendition of the patchset adds a commit which optimizes away tree traversal when collecting omits when iterating over a tree a second time. Thanks, Matthew DeVore (2): list-objects-filter: teach tree:# how to handle >0 tree:<depth>: skip some trees even when collecting omits Documentation/rev-list-options.txt | 9 ++- list-objects-filter-options.c | 7 +- list-objects-filter-options.h | 3 +- list-objects-filter.c | 120 +++++++++++++++++++++++----- t/t6112-rev-list-filters-objects.sh | 115 +++++++++++++++++++++++++- 5 files changed, 225 insertions(+), 29 deletions(-) -- 2.20.0.rc2.403.gdbc3b29805-goog