aboutsummaryrefslogtreecommitdiffstats
path: root/tree-walk.c
AgeCommit message (Expand)AuthorFilesLines
2016-04-25tree-walk: convert tree_entry_extract() to use struct object_idbrian m. carlson1-5/+5
2016-04-25struct name_entry: use struct object_id instead of unsigned char sha1[20]brian m. carlson1-3/+3
2016-01-05do_compare_entry: use already-computed pathDavid Turner1-0/+7
2015-05-20tree-walk: learn get_tree_entry_follow_symlinksDavid Turner1-0/+206
2014-06-20cleanup duplicate name_compare() functionsJeremiah Mahler1-10/+0
2014-02-24tree-walk: finally switch over tree descriptors to contain a pre-parsed entryKirill Smelkov1-1/+1
2014-01-27Merge branch 'as/tree-walk-fix-aggressive-short-cut'Junio C Hamano1-1/+1
2014-01-27tree_entry_interesting: match against all pathspecsAndy Spencer1-1/+1
2014-01-23tree-walk.c: ignore trailing slash on submodule in tree_entry_interesting()Nguyễn Thái Ngọc Duy1-1/+1
2013-12-06Support pathspec magic :(exclude) and its short form :!Nguyễn Thái Ngọc Duy1-4/+79
2013-09-09Merge branch 'jl/submodule-mv'Junio C Hamano1-16/+62
2013-07-19traverse_trees(): clarify return value of the callbackStefan Beller1-6/+5
2013-07-15parse_pathspec: accept :(icase)path syntaxNguyễn Thái Ngọc Duy1-11/+48
2013-07-15pathspec: support :(glob) syntaxNguyễn Thái Ngọc Duy1-5/+4
2013-07-15pathspec: support :(literal) syntax for noglob pathspecNguyễn Thái Ngọc Duy1-1/+4
2013-07-15guard against new pathspec magic in pathspec matching codeNguyễn Thái Ngọc Duy1-0/+2
2013-07-15parse_pathspec: add special flag for max_depth featureNguyễn Thái Ngọc Duy1-2/+6
2013-07-15move struct pathspec and related functions to pathspec.[ch]Nguyễn Thái Ngọc Duy1-0/+1
2012-11-26tree_entry_interesting: do basedir compare on wildcard patterns when possibleNguyễn Thái Ngọc Duy1-1/+64
2012-11-26pathspec: apply "*.c" optimization from excludeNguyễn Thái Ngọc Duy1-2/+4
2012-11-26pathspec: do exact comparison on the leading non-wildcard partNguyễn Thái Ngọc Duy1-2/+4
2012-11-19pathspec: save the non-wildcard length partNguyễn Thái Ngọc Duy1-2/+2
2012-11-09Merge branch 'nd/tree-walk-enum-cleanup'Jeff King1-4/+4
2012-10-19tree-walk: use enum interesting instead of integerNguyễn Thái Ngọc Duy1-4/+4
2012-01-14Document limited recursion pathspec matching with wildcardsNguyễn Thái Ngọc Duy1-0/+3
2011-10-27tree_entry_interesting(): give meaningful names to return valuesNguyễn Thái Ngọc Duy1-24/+21
2011-10-27tree_entry_interesting: make use of local pointer "item"Nguyễn Thái Ngọc Duy1-2/+2
2011-10-27get_tree_entry(): do not call find_tree_entry() on an empty treeJunio C Hamano1-3/+7
2011-10-27tree-walk.c: do not leak internal structure in tree_entry_len()Nguyễn Thái Ngọc Duy1-8/+8
2011-10-10Merge branch 'dm/tree-walk'Junio C Hamano1-4/+4
2011-10-09Fix some "variable might be used uninitialized" warningsRamsay Jones1-1/+1
2011-09-28tree-walk: micro-optimization in tree_entry_interestingDan McGee1-2/+2
2011-09-28tree-walk: drop unused parameter from match_dir_prefixDan McGee1-2/+2
2011-08-29traverse_trees(): allow pruning with pathspecJunio C Hamano1-6/+33
2011-04-05pathspec: rename per-item field has_wildcard to use_wildcardJunio C Hamano1-2/+2
2011-02-03grep: drop pathspec_matches() in favor of tree_entry_interesting()Nguyễn Thái Ngọc Duy1-11/+13
2011-02-03tree_entry_interesting(): optimize wildcard matching when base is matchedNguyễn Thái Ngọc Duy1-0/+14
2011-02-03tree_entry_interesting(): support wildcard matchingNguyễn Thái Ngọc Duy1-3/+27
2011-02-03tree_entry_interesting(): fix depth limit with overlapping pathspecsNguyễn Thái Ngọc Duy1-1/+1
2011-02-03tree_entry_interesting(): support depth limitNguyễn Thái Ngọc Duy1-3/+16
2011-02-03tree_entry_interesting(): refactor into separate smaller functionsNguyễn Thái Ngọc Duy1-77/+93
2011-02-03diff-tree: convert base+baselen to writable strbufNguyễn Thái Ngọc Duy1-2/+3
2011-02-03Move tree_entry_interesting() to tree-walk.c and export itNguyễn Thái Ngọc Duy1-0/+114
2010-08-11unpack_trees: group error messages by typeMatthieu Moy1-3/+8
2010-02-14Merge branch 'maint-1.6.6' into maintJunio C Hamano1-0/+1
2010-02-14fix minor memory leak in get_tree_entry()René Scharfe1-0/+1
2010-01-03traverse_trees(): handle D/F conflict case sanelyJunio C Hamano1-43/+234
2008-03-09Fix tree-walking compare_entry() in the presense of --prefixLinus Torvalds1-0/+3
2008-03-09Make 'traverse_trees()' traverse conflicting DF entries in parallelLinus Torvalds1-2/+6
2008-03-09Add return value to 'traverse_tree()' callbackLinus Torvalds1-7/+15
2008-03-09Make 'traverse_tree()' use linked structure rather than 'const char *base'Linus Torvalds1-2/+33
2008-01-06tree-walk: don't parse incorrect entriesMartin Koegler1-2/+8
2007-06-07War on whitespaceJunio C Hamano1-1/+0
2007-03-21Switch over tree descriptors to contain a pre-parsed entryLinus Torvalds1-57/+44
2007-03-21Initialize tree descriptors with a helper function rather than by hand.Linus Torvalds1-9/+15
2007-03-21Remove "pathlen" from "struct name_entry"Linus Torvalds1-4/+2
2007-03-18Avoid unnecessary strlen() callsLinus Torvalds1-2/+2
2007-01-09get_tree_entry: map blank requested entry to tree rootJeff King1-1/+8
2007-01-04Remove shadowing variable from traverse_trees()René Scharfe1-1/+0
2006-08-23Convert memcpy(a,b,20) to hashcpy(a,b).Shawn Pearce1-2/+2
2006-06-20Remove all void-pointer arithmetic.Florian Forster1-5/+6
2006-05-30tree_entry(): new tree-walking helper functionLinus Torvalds1-2/+31
2006-05-28Don't use "sscanf()" for tree mode scanningLinus Torvalds1-3/+18
2006-04-19get_tree_entry(): make it available from tree-walkJunio C Hamano1-0/+50
2006-04-04Use blob_, commit_, tag_, and tree_type throughout.Peter Eriksen1-1/+2
2006-03-29tree/diff header cleanup.Junio C Hamano1-0/+116