summaryrefslogtreecommitdiff
path: root/dir.c
AgeCommit message (Expand)AuthorFilesLines
2020-02-14Merge branch 'mt/use-passed-repo-more-in-funcs'Libravatar Junio C Hamano1-2/+2
2020-02-14Merge branch 'ds/sparse-checkout-harden'Libravatar Junio C Hamano1-4/+75
2020-01-31sparse-checkout: properly match escaped charactersLibravatar Derrick Stolee1-3/+32
2020-01-31sparse-checkout: warn on globs in cone patternsLibravatar Derrick Stolee1-0/+36
2020-01-31sha1-file: pass git_hash_algo to hash_object_file()Libravatar Matheus Tavares1-2/+2
2020-01-24sparse-checkout: detect short patternsLibravatar Derrick Stolee1-1/+2
2020-01-24sparse-checkout: cone mode does not recognize "**"Libravatar Derrick Stolee1-1/+6
2020-01-16dir: point treat_leading_path() warning to the right placeLibravatar Jeff King1-3/+3
2020-01-16dir: restructure in a way to avoid passing around a struct direntLibravatar Jeff King1-42/+31
2020-01-16dir: treat_leading_path() and read_directory_recursive(), round 2Libravatar Elijah Newren1-0/+4
2019-12-25Merge branch 'en/fill-directory-fixes'Libravatar Junio C Hamano1-49/+138
2019-12-25Merge branch 'ds/sparse-cone'Libravatar Junio C Hamano1-8/+208
2019-12-20dir.c: use st_add3() for allocation sizeLibravatar Junio C Hamano1-1/+1
2019-12-19dir: consolidate similar code in treat_directory()Libravatar Elijah Newren1-11/+7
2019-12-19dir: synchronize treat_leading_path() and read_directory_recursive()Libravatar Elijah Newren1-0/+30
2019-12-19dir: fix checks on common prefix directoryLibravatar Elijah Newren1-11/+56
2019-12-16Merge branch 'hw/doc-in-header'Libravatar Junio C Hamano1-2/+0
2019-12-13sparse-checkout: respect core.ignoreCase in cone modeLibravatar Derrick Stolee1-3/+12
2019-12-11dir: break part of read_directory_recursive() out for reuseLibravatar Elijah Newren1-23/+37
2019-12-11dir: exit before wildcard fall-through if there is no wildcardLibravatar Elijah Newren1-0/+7
2019-12-11dir: remove stray quote character in commentLibravatar Elijah Newren1-1/+1
2019-12-11Revert "dir.c: make 'git-status --ignored' work within leading directories"Libravatar Elijah Newren1-3/+0
2019-11-22unpack-trees: hash less in cone modeLibravatar Derrick Stolee1-2/+2
2019-11-22sparse-checkout: init and set in cone modeLibravatar Derrick Stolee1-4/+4
2019-11-22sparse-checkout: use hashmaps for cone patternsLibravatar Derrick Stolee1-8/+199
2019-11-18dir: move doc to dir.hLibravatar Heba Waly1-2/+0
2019-11-10Fix spelling errors in code commentsLibravatar Elijah Newren1-1/+1
2019-10-11Merge branch 'en/clean-nested-with-ignored'Libravatar Junio C Hamano1-17/+48
2019-10-02dir: special case check for the possibility that pathspec is NULLLibravatar Elijah Newren1-3/+5
2019-09-30Merge branch 'ds/include-exclude'Libravatar Junio C Hamano1-136/+148
2019-09-17clean: avoid removing untracked files in a nested git repositoryLibravatar Elijah Newren1-0/+10
2019-09-17dir: add commentary explaining match_pathspec_item's return valueLibravatar Elijah Newren1-8/+19
2019-09-17dir: if our pathspec might match files under a dir, recurse into itLibravatar Elijah Newren1-4/+6
2019-09-17dir: make the DO_MATCH_SUBMODULE code reusable for a non-submodule caseLibravatar Elijah Newren1-3/+3
2019-09-17dir: also check directories for matching pathspecsLibravatar Elijah Newren1-0/+5
2019-09-17dir: fix off-by-one error in match_pathspec_itemLibravatar Elijah Newren1-1/+2
2019-09-17dir: fix typo in commentLibravatar Elijah Newren1-1/+1
2019-09-05unpack-trees: rename 'is_excluded_from_list()'Libravatar Derrick Stolee1-8/+17
2019-09-05treewide: rename 'exclude' methods to 'pattern'Libravatar Derrick Stolee1-39/+39
2019-09-05treewide: rename 'EXCL_FLAG_' to 'PATTERN_FLAG_'Libravatar Derrick Stolee1-11/+11
2019-09-05treewide: rename 'struct exclude_list' to 'struct pattern_list'Libravatar Derrick Stolee1-53/+53
2019-09-05treewide: rename 'struct exclude' to 'struct path_pattern'Libravatar Derrick Stolee1-56/+59
2019-06-13cleanup: fix possible overflow errors in binary search, part 2Libravatar René Scharfe1-1/+1
2019-05-09Merge branch 'jk/untracked-cache-more-fixes'Libravatar Junio C Hamano1-23/+18
2019-05-09Merge branch 'nd/sha1-name-c-wo-the-repository'Libravatar Junio C Hamano1-0/+8
2019-05-09Merge branch 'km/empty-repo-is-still-a-repo'Libravatar Junio C Hamano1-2/+4
2019-04-25Merge branch 'js/untracked-cache-allocfix'Libravatar Junio C Hamano1-1/+1
2019-04-25Merge branch 'bc/hash-transition-16'Libravatar Junio C Hamano1-14/+14
2019-04-19untracked-cache: simplify parsing by dropping "len"Libravatar Jeff King1-8/+5
2019-04-19untracked-cache: simplify parsing by dropping "next"Libravatar Jeff King1-13/+7