summaryrefslogtreecommitdiff
path: root/dir.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'en/fill-directory-exponential' into masterJunio C Hamano2020-07-301-2/+2
|\
| * dir: check pathspecs before returning `path_excluded`Martin Ă…gren2020-07-201-2/+2
* | Merge branch 'en/clean-cleanups'Junio C Hamano2020-06-251-5/+10
|\ \
| * | dir, clean: avoid disallowed behaviorElijah Newren2020-06-121-0/+4
| * | dir: fix a few confusing commentsElijah Newren2020-06-121-5/+6
* | | Merge branch 'en/do-match-pathspec-fix'Junio C Hamano2020-06-171-17/+33
|\ \ \ | |/ / |/| |
| * | dir: fix treatment of negated pathspecsElijah Newren2020-06-051-17/+33
| |/
* | Merge branch 'en/fill-directory-exponential'Junio C Hamano2020-04-291-174/+248
|\ \ | |/
| * Fix error-prone fill_directory() API; make it only return matchesElijah Newren2020-04-011-1/+8
| * dir: replace double pathspec matching with single in treat_directory()Elijah Newren2020-04-011-19/+19
| * dir: include DIR_KEEP_UNTRACKED_CONTENTS handling in treat_directory()Elijah Newren2020-04-011-24/+19
| * dir: replace exponential algorithm with a linear oneElijah Newren2020-04-011-63/+147
| * dir: refactor treat_directory to clarify control flowDerrick Stolee2020-04-011-18/+17
| * dir: fix confusion based on variable tenseElijah Newren2020-04-011-13/+13
| * dir: fix broken commentElijah Newren2020-04-011-1/+1
| * dir: consolidate treat_path() and treat_one_path()Elijah Newren2020-04-011-66/+55
| * dir: fix simple typo in commentElijah Newren2020-04-011-1/+1
* | Merge branch 'ds/sparse-add'Junio C Hamano2020-03-051-1/+1
|\ \
| * | sparse-checkout: allow one-character directories in cone modeDerrick Stolee2020-02-201-1/+1
* | | Merge branch 'mt/use-passed-repo-more-in-funcs'Junio C Hamano2020-02-141-2/+2
|\ \ \
| * | | sha1-file: pass git_hash_algo to hash_object_file()Matheus Tavares2020-01-311-2/+2
* | | | Merge branch 'ds/sparse-checkout-harden'Junio C Hamano2020-02-141-4/+75
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| |
| * | sparse-checkout: properly match escaped charactersDerrick Stolee2020-01-311-3/+32
| * | sparse-checkout: warn on globs in cone patternsDerrick Stolee2020-01-311-0/+36
| * | sparse-checkout: detect short patternsDerrick Stolee2020-01-241-1/+2
| * | sparse-checkout: cone mode does not recognize "**"Derrick Stolee2020-01-241-1/+6
* | | dir: point treat_leading_path() warning to the right placeJeff King2020-01-161-3/+3
* | | dir: restructure in a way to avoid passing around a struct direntJeff King2020-01-161-42/+31
* | | dir: treat_leading_path() and read_directory_recursive(), round 2Elijah Newren2020-01-161-0/+4
| |/ |/|
* | Merge branch 'en/fill-directory-fixes'Junio C Hamano2019-12-251-49/+138
|\ \
| * | dir.c: use st_add3() for allocation sizeJunio C Hamano2019-12-201-1/+1
| * | dir: consolidate similar code in treat_directory()Elijah Newren2019-12-191-11/+7
| * | dir: synchronize treat_leading_path() and read_directory_recursive()Elijah Newren2019-12-191-0/+30
| * | dir: fix checks on common prefix directoryElijah Newren2019-12-191-11/+56
| * | dir: break part of read_directory_recursive() out for reuseElijah Newren2019-12-111-23/+37
| * | dir: exit before wildcard fall-through if there is no wildcardElijah Newren2019-12-111-0/+7
| * | dir: remove stray quote character in commentElijah Newren2019-12-111-1/+1
| * | Revert "dir.c: make 'git-status --ignored' work within leading directories"Elijah Newren2019-12-111-3/+0
* | | Merge branch 'ds/sparse-cone'Junio C Hamano2019-12-251-8/+208
|\ \ \ | | |/ | |/|
| * | sparse-checkout: respect core.ignoreCase in cone modeDerrick Stolee2019-12-131-3/+12
| * | unpack-trees: hash less in cone modeDerrick Stolee2019-11-221-2/+2
| * | sparse-checkout: init and set in cone modeDerrick Stolee2019-11-221-4/+4
| * | sparse-checkout: use hashmaps for cone patternsDerrick Stolee2019-11-221-8/+199
| |/
* | Merge branch 'hw/doc-in-header'Junio C Hamano2019-12-161-2/+0
|\ \
| * | dir: move doc to dir.hHeba Waly2019-11-181-2/+0
| |/
* | Fix spelling errors in code commentsElijah Newren2019-11-101-1/+1
|/
* Merge branch 'en/clean-nested-with-ignored'Junio C Hamano2019-10-111-17/+48
|\
| * dir: special case check for the possibility that pathspec is NULLElijah Newren2019-10-021-3/+5
| * clean: avoid removing untracked files in a nested git repositoryElijah Newren2019-09-171-0/+10
| * dir: add commentary explaining match_pathspec_item's return valueElijah Newren2019-09-171-8/+19