Code

Merge branch 'nd/struct-pathspec' into jch
authorJunio C Hamano <gitster@pobox.com>
Mon, 31 Jan 2011 03:03:00 +0000 (19:03 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Jan 2011 03:03:00 +0000 (19:03 -0800)
commit8f43976648961b793d8241ede4b65c5e63d97499
tree7dfd5d997234221dbe550e8420d2e5abedf89ec2
parentfb1c228165bffa55da5d7ab983547932e657a697
parentee47d9326448d290432ddedcc09e1058ef2893c8
Merge branch 'nd/struct-pathspec' into jch

* nd/struct-pathspec: (21 commits)
  t7810: overlapping pathspecs and depth limit
  grep: drop pathspec_matches() in favor of tree_entry_interesting()
  grep: use writable strbuf from caller for grep_tree()
  grep: use match_pathspec_depth() for cache/worktree grepping
  grep: convert to use struct pathspec
  Convert ce_path_match() to use match_pathspec_depth()
  Convert ce_path_match() to use struct pathspec
  struct rev_info: convert prune_data to struct pathspec
  pathspec: add match_pathspec_depth()
  tree_entry_interesting(): optimize wildcard matching when base is matched
  tree_entry_interesting(): support wildcard matching
  tree_entry_interesting(): fix depth limit with overlapping pathspecs
  tree_entry_interesting(): support depth limit
  tree_entry_interesting(): refactor into separate smaller functions
  diff-tree: convert base+baselen to writable strbuf
  glossary: define pathspec
  Move tree_entry_interesting() to tree-walk.c and export it
  tree_entry_interesting(): remove dependency on struct diff_options
  Convert struct diff_options to use struct pathspec
  diff-no-index: use diff_tree_setup_paths()
  ...

Conflicts:
tree-diff.c
16 files changed:
Documentation/glossary-content.txt
builtin/add.c
builtin/diff.c
builtin/grep.c
builtin/log.c
builtin/update-index.c
cache.h
diff.h
dir.c
dir.h
read-cache.c
revision.c
t/t7810-grep.sh
tree-diff.c
tree-walk.c
wt-status.c