summaryrefslogtreecommitdiff
path: root/tree-walk.c
AgeCommit message (Expand)AuthorFilesLines
2017-12-19Merge branch 'bw/pathspec-match-submodule-boundary'Junio C Hamano1-2/+3
2017-12-05pathspec: only match across submodule boundaries when requestedBrandon Williams1-2/+3
2017-09-29Merge branch 'rj/no-sign-compare'Junio C Hamano1-2/+1
2017-09-22ALLOC_GROW: avoid -Wsign-compare warningsRamsay Jones1-2/+1
2017-08-14tree-walk: convert fill_tree_descriptor() to object_idRené Scharfe1-4/+5
2017-06-02Merge branch 'jk/diff-blob'Junio C Hamano1-1/+0
2017-05-24get_sha1_with_context: always initialize oc->symlink_pathJeff King1-1/+0
2017-05-09doc: replace more gmane linksJunio C Hamano1-1/+1
2016-12-22grep: enable recurse-submodules to work on <tree> objectsBrandon Williams1-0/+28
2016-09-27fsck: handle bad trees like other errorsDavid Turner1-11/+72
2016-09-27tree-walk: be more specific about corrupt tree errorsJeff King1-5/+7
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