summaryrefslogtreecommitdiff
path: root/tree-walk.c
AgeCommit message (Expand)AuthorFilesLines
2012-11-26pathspec: do exact comparison on the leading non-wildcard partLibravatar Nguyễn Thái Ngọc Duy1-2/+4
2012-11-19pathspec: save the non-wildcard length partLibravatar Nguyễn Thái Ngọc Duy1-2/+2
2012-11-09Merge branch 'nd/tree-walk-enum-cleanup'Libravatar Jeff King1-4/+4
2012-10-19tree-walk: use enum interesting instead of integerLibravatar Nguyễn Thái Ngọc Duy1-4/+4
2012-01-14Document limited recursion pathspec matching with wildcardsLibravatar Nguyễn Thái Ngọc Duy1-0/+3
2011-10-27tree_entry_interesting(): give meaningful names to return valuesLibravatar Nguyễn Thái Ngọc Duy1-24/+21
2011-10-27tree_entry_interesting: make use of local pointer "item"Libravatar Nguyễn Thái Ngọc Duy1-2/+2
2011-10-27get_tree_entry(): do not call find_tree_entry() on an empty treeLibravatar Junio C Hamano1-3/+7
2011-10-27tree-walk.c: do not leak internal structure in tree_entry_len()Libravatar Nguyễn Thái Ngọc Duy1-8/+8
2011-10-10Merge branch 'dm/tree-walk'Libravatar Junio C Hamano1-4/+4
2011-10-09Fix some "variable might be used uninitialized" warningsLibravatar Ramsay Jones1-1/+1
2011-09-28tree-walk: micro-optimization in tree_entry_interestingLibravatar Dan McGee1-2/+2
2011-09-28tree-walk: drop unused parameter from match_dir_prefixLibravatar Dan McGee1-2/+2
2011-08-29traverse_trees(): allow pruning with pathspecLibravatar Junio C Hamano1-6/+33
2011-04-05pathspec: rename per-item field has_wildcard to use_wildcardLibravatar Junio C Hamano1-2/+2
2011-02-03grep: drop pathspec_matches() in favor of tree_entry_interesting()Libravatar Nguyễn Thái Ngọc Duy1-11/+13
2011-02-03tree_entry_interesting(): optimize wildcard matching when base is matchedLibravatar Nguyễn Thái Ngọc Duy1-0/+14
2011-02-03tree_entry_interesting(): support wildcard matchingLibravatar Nguyễn Thái Ngọc Duy1-3/+27
2011-02-03tree_entry_interesting(): fix depth limit with overlapping pathspecsLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2011-02-03tree_entry_interesting(): support depth limitLibravatar Nguyễn Thái Ngọc Duy1-3/+16
2011-02-03tree_entry_interesting(): refactor into separate smaller functionsLibravatar Nguyễn Thái Ngọc Duy1-77/+93
2011-02-03diff-tree: convert base+baselen to writable strbufLibravatar Nguyễn Thái Ngọc Duy1-2/+3
2011-02-03Move tree_entry_interesting() to tree-walk.c and export itLibravatar Nguyễn Thái Ngọc Duy1-0/+114
2010-08-11unpack_trees: group error messages by typeLibravatar Matthieu Moy1-3/+8
2010-02-14Merge branch 'maint-1.6.6' into maintLibravatar Junio C Hamano1-0/+1
2010-02-14fix minor memory leak in get_tree_entry()Libravatar René Scharfe1-0/+1
2010-01-03traverse_trees(): handle D/F conflict case sanelyLibravatar Junio C Hamano1-43/+234
2008-03-09Fix tree-walking compare_entry() in the presense of --prefixLibravatar Linus Torvalds1-0/+3
2008-03-09Make 'traverse_trees()' traverse conflicting DF entries in parallelLibravatar Linus Torvalds1-2/+6
2008-03-09Add return value to 'traverse_tree()' callbackLibravatar Linus Torvalds1-7/+15
2008-03-09Make 'traverse_tree()' use linked structure rather than 'const char *base'Libravatar Linus Torvalds1-2/+33
2008-01-06tree-walk: don't parse incorrect entriesLibravatar Martin Koegler1-2/+8
2007-06-07War on whitespaceLibravatar Junio C Hamano1-1/+0
2007-03-21Switch over tree descriptors to contain a pre-parsed entryLibravatar Linus Torvalds1-57/+44
2007-03-21Initialize tree descriptors with a helper function rather than by hand.Libravatar Linus Torvalds1-9/+15
2007-03-21Remove "pathlen" from "struct name_entry"Libravatar Linus Torvalds1-4/+2
2007-03-18Avoid unnecessary strlen() callsLibravatar Linus Torvalds1-2/+2
2007-01-09get_tree_entry: map blank requested entry to tree rootLibravatar Jeff King1-1/+8
2007-01-04Remove shadowing variable from traverse_trees()Libravatar René Scharfe1-1/+0
2006-08-23Convert memcpy(a,b,20) to hashcpy(a,b).Libravatar Shawn Pearce1-2/+2
2006-06-20Remove all void-pointer arithmetic.Libravatar Florian Forster1-5/+6
2006-05-30tree_entry(): new tree-walking helper functionLibravatar Linus Torvalds1-2/+31
2006-05-28Don't use "sscanf()" for tree mode scanningLibravatar Linus Torvalds1-3/+18
2006-04-19get_tree_entry(): make it available from tree-walkLibravatar Junio C Hamano1-0/+50
2006-04-04Use blob_, commit_, tag_, and tree_type throughout.Libravatar Peter Eriksen1-1/+2
2006-03-29tree/diff header cleanup.Libravatar Junio C Hamano1-0/+116