Skip to content

en/object-list-with-pathspec (v3?)

Nguyễn Thái Ngọc Duy git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5diff-no-index.c: rename read_directory() to read_dir()diff-no-index.c+3 -30 replies
2/5Add testcases showing how pathspecs are ignored with rev-list --objectst/t6000-rev-list-misc.sh+51 -00 replies
3/5tree-walk: move tree_entry_interesting() from tree-diff.ctree-diff.c tree-walk.c tree-walk.h+118 -1140 replies
4/5tree_entry_interesting(): remove dependency on struct diff_optionsdiff.h tree-diff.c tree-walk.c +1 more+45 -200 replies
5/5Make rev-list --objects work together with pathspecslist-objects.c revision.c revision.h +1 more+36 -60 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] en/object-list-with-pathspec (v3?)

Changes from last time is tree_entry_interesting() now takes struct exclude * as the pathspecs.

I think there'll be a bit of performance loss because diff_options.el is not initialized from the beginning. But that requires more changes outside tree-diff.c (makes sure that diff_options.el is copied properly, makes sure that diff_tree_setup_* is called ...) So one step at a time. I'm working on it.

Elijah Newren (2):
Add testcases showing how pathspecs are ignored with rev-list
--objects
Make rev-list --objects work together with pathspecs

Nguyễn Thái Ngọc Duy (3):
diff-no-index.c: rename read_directory() to read_dir()
tree-walk: move tree_entry_interesting() from tree-diff.c tree_entry_interesting(): remove dependency on struct diff_options

 diff-no-index.c          |    6 +-
 diff.h                   |    3 +
 list-objects.c           |   25 ++++++++
 revision.c               |    8 ++-
 revision.h               |    3 +-
 t/t6000-rev-list-misc.sh |   51 ++++++++++++++++
 tree-diff.c              |  145 +++++++++-------------------------------------
 tree-walk.c              |  111 +++++++++++++++++++++++++++++++++++
 tree-walk.h              |    4 +
 9 files changed, 233 insertions(+), 123 deletions(-)
 create mode 100755 t/t6000-rev-list-misc.sh