summaryrefslogtreecommitdiff
path: root/dir.c
AgeCommit message (Expand)AuthorFilesLines
2020-04-29Merge branch 'en/fill-directory-exponential'Libravatar Junio C Hamano1-174/+248
2020-04-01Fix error-prone fill_directory() API; make it only return matchesLibravatar Elijah Newren1-1/+8
2020-04-01dir: replace double pathspec matching with single in treat_directory()Libravatar Elijah Newren1-19/+19
2020-04-01dir: include DIR_KEEP_UNTRACKED_CONTENTS handling in treat_directory()Libravatar Elijah Newren1-24/+19
2020-04-01dir: replace exponential algorithm with a linear oneLibravatar Elijah Newren1-63/+147
2020-04-01dir: refactor treat_directory to clarify control flowLibravatar Derrick Stolee1-18/+17
2020-04-01dir: fix confusion based on variable tenseLibravatar Elijah Newren1-13/+13
2020-04-01dir: fix broken commentLibravatar Elijah Newren1-1/+1
2020-04-01dir: consolidate treat_path() and treat_one_path()Libravatar Elijah Newren1-66/+55
2020-04-01dir: fix simple typo in commentLibravatar Elijah Newren1-1/+1
2020-03-05Merge branch 'ds/sparse-add'Libravatar Junio C Hamano1-1/+1
2020-02-20sparse-checkout: allow one-character directories in cone modeLibravatar Derrick Stolee1-1/+1
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