summaryrefslogtreecommitdiff
path: root/dir.c
AgeCommit message (Expand)AuthorFilesLines
2021-07-01dir.[ch]: replace dir_init() with DIR_INITLibravatar Ævar Arnfjörð Bjarmason1-7/+2
2021-05-28Merge branch 'en/dir-traversal'Libravatar Junio C Hamano1-2/+1
2021-05-27dir: introduce readdir_skip_dot_and_dotdot() helperLibravatar Elijah Newren1-9/+16
2021-05-27dir: update stale description of treat_directory()Libravatar Derrick Stolee1-7/+6
2021-05-27Revert "dir: update stale description of treat_directory()"Libravatar Junio C Hamano1-6/+7
2021-05-27Revert "dir: introduce readdir_skip_dot_and_dotdot() helper"Libravatar Junio C Hamano1-17/+9
2021-05-20Merge branch 'en/dir-traversal'Libravatar Junio C Hamano1-45/+101
2021-05-13dir: introduce readdir_skip_dot_and_dotdot() helperLibravatar Elijah Newren1-9/+17
2021-05-13dir: update stale description of treat_directory()Libravatar Derrick Stolee1-7/+6
2021-05-13dir: traverse into untracked directories if they may have ignored subfilesLibravatar Elijah Newren1-4/+6
2021-05-13dir: avoid unnecessary traversal into ignored directoryLibravatar Elijah Newren1-15/+29
2021-05-13dir: report number of visited directories and paths with trace2Libravatar Elijah Newren1-0/+9
2021-05-13dir: convert trace calls to trace2 equivalentsLibravatar Elijah Newren1-13/+37
2021-05-10Merge branch 'bc/hash-transition-interop-part-1'Libravatar Junio C Hamano1-3/+3
2021-04-30Merge branch 'ds/sparse-index-protections'Libravatar Junio C Hamano1-6/+8
2021-04-27hash: provide per-algorithm null OIDsLibravatar brian m. carlson1-1/+1
2021-04-27Always use oidread to read into struct object_idLibravatar brian m. carlson1-2/+2
2021-04-14dir: ensure full indexLibravatar Derrick Stolee1-0/+2
2021-04-14*: remove 'const' qualifier for struct index_stateLibravatar Derrick Stolee1-6/+6
2021-03-22Merge branch 'jk/open-dotgitx-with-nofollow'Libravatar Junio C Hamano1-6/+15
2021-03-13use CALLOC_ARRAYLibravatar René Scharfe1-3/+3
2021-03-01Merge branch 'jh/untracked-cache-fix'Libravatar Junio C Hamano1-5/+2
2021-02-24dir: fix malloc of root untracked_cache_dirLibravatar Jeff Hostetler1-5/+2
2021-02-16exclude: do not respect symlinks for in-tree .gitignoreLibravatar Jeff King1-2/+10
2021-02-16exclude: add flags parameter to add_patterns()Libravatar Jeff King1-6/+7
2021-01-23sparse-checkout: load sparse-checkout patternsLibravatar Derrick Stolee1-0/+17
2020-11-21Merge branch 'en/strmap'Libravatar Junio C Hamano1-4/+4
2020-11-02Merge branch 'nk/dir-c-comment-update'Libravatar Junio C Hamano1-3/+3
2020-11-02hashmap: provide deallocation function namesLibravatar Elijah Newren1-4/+4
2020-10-16dir.c: fix comments to agree with argument nameLibravatar Alex Vandiver1-3/+3
2020-09-30dir.c: drop unused "untracked" from treat_path_fast()Libravatar Jeff King1-2/+1
2020-08-27Merge branch 'jk/leakfix'Libravatar Junio C Hamano1-0/+2
2020-08-24Merge branch 'en/dir-clear'Libravatar Junio C Hamano1-3/+17
2020-08-24Merge branch 'en/dir-nonbare-embedded'Libravatar Junio C Hamano1-3/+6
2020-08-18dir: fix problematic API to avoid memory leaksLibravatar Elijah Newren1-2/+7
2020-08-18dir: make clear_directory() free all relevant memoryLibravatar Elijah Newren1-2/+11
2020-08-14clear_pattern_list(): clear embedded hashmapsLibravatar Jeff King1-0/+2
2020-08-12dir: avoid prematurely marking nonbare repositories as matchesLibravatar Elijah Newren1-3/+6
2020-07-30Merge branch 'en/fill-directory-exponential' into masterLibravatar Junio C Hamano1-2/+2
2020-07-20dir: check pathspecs before returning `path_excluded`Libravatar Martin Ågren1-2/+2
2020-06-25Merge branch 'en/clean-cleanups'Libravatar Junio C Hamano1-5/+10
2020-06-17Merge branch 'en/do-match-pathspec-fix'Libravatar Junio C Hamano1-17/+33
2020-06-12dir, clean: avoid disallowed behaviorLibravatar Elijah Newren1-0/+4
2020-06-12dir: fix a few confusing commentsLibravatar Elijah Newren1-5/+6
2020-06-05dir: fix treatment of negated pathspecsLibravatar Elijah Newren1-17/+33
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