Skip to content

Introduct pathspec struct

Nguyễn Thái Ngọc Duy git 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 0 repliesNew
  2. v16 patches 15 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Add struct pathspeccache.h dir.c+25 -00 replies
2/6diff-no-index: use diff_tree_setup_paths()diff-no-index.c+5 -40 replies
3/6pathspec: cache string length when initializing pathspeccache.h dir.c+15 -10 replies
4/6Convert struct diff_options to use struct pathspecbuiltin/diff-files.c builtin/diff.c builtin/log.c +5 more+20 -500 replies
5/6tree_entry_interesting(): remove dependency on struct diff_optionstree-diff.c+11 -170 replies
6/6Move tree_entry_interesting() to tree-walk.c and export ittree-diff.c tree-walk.c tree-walk.h+113 -1090 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/6] Introduct pathspec struct

Just minor changes from Junio's comments. A comment managed to sneak in cache.h, to briefly explain "raw" field.

Nguyễn Thái Ngọc Duy (6):
Add struct pathspec
diff-no-index: use diff_tree_setup_paths()
pathspec: cache string length when initializing pathspec Convert struct diff_options to use struct pathspec tree_entry_interesting(): remove dependency on struct diff_options Move tree_entry_interesting() to tree-walk.c and export it

 builtin/diff-files.c |    2 +-
 builtin/diff.c       |    4 +-
 builtin/log.c        |    2 +-
 cache.h              |   10 +++
 diff-lib.c           |    2 +-
 diff-no-index.c      |   13 ++--
 diff.h               |    4 +-
 dir.c                |   29 +++++++++
 revision.c           |    6 +--
 tree-diff.c          |  157 +++-----------------------------------------------
 tree-walk.c          |  111 +++++++++++++++++++++++++++++++++++
 tree-walk.h          |    2 +
 12 files changed, 175 insertions(+), 167 deletions(-)