From: Jeff Hostetler <jeffhost@xxxxxxxxxxxxx> Here is V5 of the list-object filtering, rev-list, and pack-objects. This version addresses comments on the V4 series. I removed the questionable character encoding scheme. And I removed or clarified use of the term "partial clone" to refer to a future feature. Jeff Hostetler (6): dir: allow exclusions from blob in addition to file oidmap: add oidmap iterator methods oidset: add iterator methods to oidset list-objects: filter objects in traverse_commit_list rev-list: add list-objects filtering support pack-objects: add list-objects filtering Documentation/git-pack-objects.txt | 19 +- Documentation/git-rev-list.txt | 4 +- Documentation/rev-list-options.txt | 36 +++ Makefile | 2 + builtin/pack-objects.c | 64 +++++- builtin/rev-list.c | 108 ++++++++- dir.c | 132 ++++++++--- dir.h | 3 + list-objects-filter-options.c | 81 +++++++ list-objects-filter-options.h | 58 +++++ list-objects-filter.c | 401 +++++++++++++++++++++++++++++++++ list-objects-filter.h | 77 +++++++ list-objects.c | 95 ++++++-- list-objects.h | 13 +- object.h | 1 + oidmap.h | 22 ++ oidset.c | 10 + oidset.h | 36 +++ t/t5317-pack-objects-filter-objects.sh | 375 ++++++++++++++++++++++++++++++ t/t6112-rev-list-filters-objects.sh | 225 ++++++++++++++++++ 20 files changed, 1709 insertions(+), 53 deletions(-) create mode 100644 list-objects-filter-options.c create mode 100644 list-objects-filter-options.h create mode 100644 list-objects-filter.c create mode 100644 list-objects-filter.h create mode 100755 t/t5317-pack-objects-filter-objects.sh create mode 100755 t/t6112-rev-list-filters-objects.sh -- 2.9.3