summaryrefslogtreecommitdiff
path: root/dir.c
Commit message (Expand)AuthorAgeFilesLines
* sparse-checkout: load sparse-checkout patternsDerrick Stolee2021-01-231-0/+17
* Merge branch 'en/strmap'Junio C Hamano2020-11-211-4/+4
|\
| * hashmap: provide deallocation function namesElijah Newren2020-11-021-4/+4
* | Merge branch 'nk/dir-c-comment-update'Junio C Hamano2020-11-021-3/+3
|\ \ | |/ |/|
| * dir.c: fix comments to agree with argument nameAlex Vandiver2020-10-161-3/+3
* | dir.c: drop unused "untracked" from treat_path_fast()Jeff King2020-09-301-2/+1
* | Merge branch 'jk/leakfix'Junio C Hamano2020-08-271-0/+2
|\ \
| * | clear_pattern_list(): clear embedded hashmapsJeff King2020-08-141-0/+2
| |/
* | Merge branch 'en/dir-clear'Junio C Hamano2020-08-241-3/+17
|\ \
| * | dir: fix problematic API to avoid memory leaksElijah Newren2020-08-181-2/+7
| * | dir: make clear_directory() free all relevant memoryElijah Newren2020-08-181-2/+11
* | | Merge branch 'en/dir-nonbare-embedded'Junio C Hamano2020-08-241-3/+6
|\ \ \ | |/ / |/| |
| * | dir: avoid prematurely marking nonbare repositories as matchesElijah Newren2020-08-121-3/+6
| |/
* | 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