summary refs log tree commit diff
path: root/dir.c
AgeCommit message (Expand)AuthorFilesLines
2021-04-14*: remove 'const' qualifier for struct index_stateDerrick Stolee1-6/+6
2021-03-22Merge branch 'jk/open-dotgitx-with-nofollow'Junio C Hamano1-6/+15
2021-03-13use CALLOC_ARRAYRené Scharfe1-3/+3
2021-03-01Merge branch 'jh/untracked-cache-fix'Junio C Hamano1-5/+2
2021-02-24dir: fix malloc of root untracked_cache_dirJeff Hostetler1-5/+2
2021-02-16exclude: do not respect symlinks for in-tree .gitignoreJeff King1-2/+10
2021-02-16exclude: add flags parameter to add_patterns()Jeff King1-6/+7
2021-01-23sparse-checkout: load sparse-checkout patternsDerrick Stolee1-0/+17
2020-11-21Merge branch 'en/strmap'Junio C Hamano1-4/+4
2020-11-02Merge branch 'nk/dir-c-comment-update'Junio C Hamano1-3/+3
2020-11-02hashmap: provide deallocation function namesElijah Newren1-4/+4
2020-10-16dir.c: fix comments to agree with argument nameAlex Vandiver1-3/+3
2020-09-30dir.c: drop unused "untracked" from treat_path_fast()Jeff King1-2/+1
2020-08-27Merge branch 'jk/leakfix'Junio C Hamano1-0/+2
2020-08-24Merge branch 'en/dir-clear'Junio C Hamano1-3/+17
2020-08-24Merge branch 'en/dir-nonbare-embedded'Junio C Hamano1-3/+6
2020-08-18dir: fix problematic API to avoid memory leaksElijah Newren1-2/+7
2020-08-18dir: make clear_directory() free all relevant memoryElijah Newren1-2/+11
2020-08-14clear_pattern_list(): clear embedded hashmapsJeff King1-0/+2
2020-08-12dir: avoid prematurely marking nonbare repositories as matchesElijah Newren1-3/+6
2020-07-30Merge branch 'en/fill-directory-exponential' into masterJunio C Hamano1-2/+2
2020-07-20dir: check pathspecs before returning `path_excluded`Martin Ågren1-2/+2
2020-06-25Merge branch 'en/clean-cleanups'Junio C Hamano1-5/+10
2020-06-17Merge branch 'en/do-match-pathspec-fix'Junio C Hamano1-17/+33
2020-06-12dir, clean: avoid disallowed behaviorElijah Newren1-0/+4
2020-06-12dir: fix a few confusing commentsElijah Newren1-5/+6
2020-06-05dir: fix treatment of negated pathspecsElijah Newren1-17/+33
2020-04-29Merge branch 'en/fill-directory-exponential'Junio C Hamano1-174/+248
2020-04-01Fix error-prone fill_directory() API; make it only return matchesElijah Newren1-1/+8
2020-04-01dir: replace double pathspec matching with single in treat_directory()Elijah Newren1-19/+19
2020-04-01dir: include DIR_KEEP_UNTRACKED_CONTENTS handling in treat_directory()Elijah Newren1-24/+19
2020-04-01dir: replace exponential algorithm with a linear oneElijah Newren1-63/+147
2020-04-01dir: refactor treat_directory to clarify control flowDerrick Stolee1-18/+17
2020-04-01dir: fix confusion based on variable tenseElijah Newren1-13/+13
2020-04-01dir: fix broken commentElijah Newren1-1/+1
2020-04-01dir: consolidate treat_path() and treat_one_path()Elijah Newren1-66/+55
2020-04-01dir: fix simple typo in commentElijah Newren1-1/+1
2020-03-05Merge branch 'ds/sparse-add'Junio C Hamano1-1/+1
2020-02-20sparse-checkout: allow one-character directories in cone modeDerrick Stolee1-1/+1
2020-02-14Merge branch 'mt/use-passed-repo-more-in-funcs'Junio C Hamano1-2/+2
2020-02-14Merge branch 'ds/sparse-checkout-harden'Junio C Hamano1-4/+75
2020-01-31sparse-checkout: properly match escaped charactersDerrick Stolee1-3/+32
2020-01-31sparse-checkout: warn on globs in cone patternsDerrick Stolee1-0/+36
2020-01-31sha1-file: pass git_hash_algo to hash_object_file()Matheus Tavares1-2/+2
2020-01-24sparse-checkout: detect short patternsDerrick Stolee1-1/+2
2020-01-24sparse-checkout: cone mode does not recognize "**"Derrick Stolee1-1/+6
2020-01-16dir: point treat_leading_path() warning to the right placeJeff King1-3/+3
2020-01-16dir: restructure in a way to avoid passing around a struct direntJeff King1-42/+31
2020-01-16dir: treat_leading_path() and read_directory_recursive(), round 2Elijah Newren1-0/+4
2019-12-25Merge branch 'en/fill-directory-fixes'Junio C Hamano1-49/+138