Skip to content

RFC implement composite filters

Matthew DeVore git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3list-objects-filter: refactor into a context structlist-objects-filter.c list-objects-filter.h list-objects.c+96 -1360 replies
2/3list-objects-filter-options: error is localizeablelist-objects-filter-options.c+1 -10 replies
3/3list-objects-filter: implement composite filtersDocumentation/rev-list-options.txt contrib/completion/git-completion.bash list-objects-filter-options.c +3 more+373 -55 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] implement composite filters

Here is a first stab at composite filters. It does not actually support omits, but the biggest difficulties of the implementation are already addressed. So I decided to send out an early version to give interested people an idea of just what is needed to implement it, and then give them a chance to change my mind (Jonathan T. especially was concerned about code complexity).

Thank you,

Matthew DeVore (3):
list-objects-filter: refactor into a context struct list-objects-filter-options: error is localizeable
list-objects-filter: implement composite filters

 Documentation/rev-list-options.txt     |   8 +
 contrib/completion/git-completion.bash |   2 +-
 list-objects-filter-options.c          | 132 +++++++++++-
 list-objects-filter-options.h          |  14 +-
 list-objects-filter.c                  | 272 ++++++++++++++++---------
 list-objects-filter.h                  |  31 ++-
 list-objects.c                         |  45 ++--
 t/t6112-rev-list-filters-objects.sh    | 108 +++++++++-
 8 files changed, 470 insertions(+), 142 deletions(-)
Signature · 1 line
2.21.0