545 Commits (6ddd76fd6c356c037b5d5272732900f1f952721e)

Author SHA1 Message Date
Elijah Newren eceba53214 dir: fix problematic API to avoid memory leaks 4 years ago
Elijah Newren dad4f23ce5 dir: make clear_directory() free all relevant memory 4 years ago
Jeff King 8dc3156373 clear_pattern_list(): clear embedded hashmaps 4 years ago
Elijah Newren ab282aa548 dir: avoid prematurely marking nonbare repositories as matches 5 years ago
Martin Ågren cada7308ad dir: check pathspecs before returning `path_excluded` 5 years ago
Elijah Newren 351ea1c3cb dir, clean: avoid disallowed behavior 5 years ago
Elijah Newren e6c0be9239 dir: fix a few confusing comments 5 years ago
Elijah Newren f1f061e11d dir: fix treatment of negated pathspecs 5 years ago
Elijah Newren 95c11ecc73 Fix error-prone fill_directory() API; make it only return matches 5 years ago
Elijah Newren 7f45ab2dca dir: replace double pathspec matching with single in treat_directory() 5 years ago
Elijah Newren 1684644489 dir: include DIR_KEEP_UNTRACKED_CONTENTS handling in treat_directory() 5 years ago
Elijah Newren 8d92fb2927 dir: replace exponential algorithm with a linear one 5 years ago
Derrick Stolee 0bbd0e8b52 dir: refactor treat_directory to clarify control flow 5 years ago
Elijah Newren 2df179d3df dir: fix confusion based on variable tense 5 years ago
Elijah Newren 0126d1415a dir: fix broken comment 5 years ago
Elijah Newren cd129eed98 dir: consolidate treat_path() and treat_one_path() 5 years ago
Elijah Newren 446f46d8c7 dir: fix simple typo in comment 5 years ago
Derrick Stolee 6c11c6a124 sparse-checkout: allow one-character directories in cone mode 5 years ago
Derrick Stolee 4f52c2ce6c sparse-checkout: properly match escaped characters 5 years ago
Derrick Stolee 9abc60f801 sparse-checkout: warn on globs in cone patterns 5 years ago
Matheus Tavares 2dcde20e1c sha1-file: pass git_hash_algo to hash_object_file() 5 years ago
Derrick Stolee 9e6d3e6417 sparse-checkout: detect short patterns 5 years ago
Derrick Stolee 41de0c6fbc sparse-checkout: cone mode does not recognize "**" 5 years ago
Jeff King 0cbb60574e dir: point treat_leading_path() warning to the right place 5 years ago
Jeff King ad6f2157f9 dir: restructure in a way to avoid passing around a struct dirent 5 years ago
Elijah Newren 22705334b9 dir: treat_leading_path() and read_directory_recursive(), round 2 5 years ago
Junio C Hamano 6836d2fe06 dir.c: use st_add3() for allocation size 5 years ago
Elijah Newren c847dfafee dir: consolidate similar code in treat_directory() 5 years ago
Elijah Newren 777b420347 dir: synchronize treat_leading_path() and read_directory_recursive() 5 years ago
Elijah Newren b9670c1f5e dir: fix checks on common prefix directory 5 years ago
Derrick Stolee 190a65f9db sparse-checkout: respect core.ignoreCase in cone mode 5 years ago
Elijah Newren c5c4eddd56 dir: break part of read_directory_recursive() out for reuse 5 years ago
Elijah Newren 072a231016 dir: exit before wildcard fall-through if there is no wildcard 5 years ago
Elijah Newren 2f5d3847d4 dir: remove stray quote character in comment 5 years ago
Elijah Newren a2b13367fe Revert "dir.c: make 'git-status --ignored' work within leading directories" 5 years ago
Derrick Stolee eb42feca97 unpack-trees: hash less in cone mode 5 years ago
Derrick Stolee af09ce24a9 sparse-checkout: init and set in cone mode 5 years ago
Derrick Stolee 96cc8ab531 sparse-checkout: use hashmaps for cone patterns 5 years ago
Heba Waly 266f03eccd dir: move doc to dir.h 5 years ago
Elijah Newren 15beaaa3d1 Fix spelling errors in code comments 5 years ago
Elijah Newren 69f272b922 dir: special case check for the possibility that pathspec is NULL 5 years ago
Elijah Newren 09487f2cba clean: avoid removing untracked files in a nested git repository 5 years ago
Elijah Newren 29b577b960 dir: add commentary explaining match_pathspec_item's return value 5 years ago
Elijah Newren 89a1f4aaf7 dir: if our pathspec might match files under a dir, recurse into it 5 years ago
Elijah Newren a3d89d8f76 dir: make the DO_MATCH_SUBMODULE code reusable for a non-submodule case 5 years ago
Elijah Newren 404ebceda0 dir: also check directories for matching pathspecs 5 years ago
Elijah Newren a5e916c745 dir: fix off-by-one error in match_pathspec_item 5 years ago
Elijah Newren bbbb6b0b89 dir: fix typo in comment 5 years ago
Derrick Stolee 468ce99b77 unpack-trees: rename 'is_excluded_from_list()' 5 years ago
Derrick Stolee 65edd96aec treewide: rename 'exclude' methods to 'pattern' 5 years ago