Skip to content

en/object-list-with-pathspec update

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 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Add testcases showing how pathspecs are ignored with rev-list --objectst/t6000-rev-list-misc.sh+51 -00 replies
2/4tree-walk: copy tree_entry_interesting() as is from tree-diff.ctree-walk.c+115 -02 replies
3/4tree-walk: actually move tree_entry_interesting() to tree-walk.ctree-diff.c tree-walk.c tree-walk.h+17 -1323 replies
4/4Make 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/4] en/object-list-with-pathspec update

cache-tree.c line 5

Quoted 9 lines · Elijah Newren
cache-tree.c +1 -0
index c60cf91..2ba6a76 100644
@@ -2,6 +2,7 @@
 #include "tree.h"
 #include "tree-walk.h"
 #include "cache-tree.h"
+#include "diff.h"  /* FIXME: for tree_entry_interesting; maybe it should be in tree-walk.h? */

Yes, please. And I'd rather see it done sooner than later, before tree_entry_interesting() usage is spread over the place.

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 (2):
tree-walk: copy tree_entry_interesting() as-is from tree-diff.c
tree-walk: actually move tree_entry_interesting() to tree-walk.c

 list-objects.c           |   25 ++++++++++
 revision.c               |    8 ++-
 revision.h               |    3 +-
 t/t6000-rev-list-misc.sh |   51 +++++++++++++++++++
 tree-diff.c              |  121 ++--------------------------------------------
 tree-walk.c              |  110 +++++++++++++++++++++++++++++++++++++++++
 tree-walk.h              |    3 +
 7 files changed, 201 insertions(+), 120 deletions(-)
 create mode 100755 t/t6000-rev-list-misc.sh