386 Commits (3ea6b85a871aa41eaa66a2919451ad12d492c355)

Author SHA1 Message Date
Adam Spiers 6d24e7a807 dir.c: rename excluded() to is_excluded() 12 years ago
Adam Spiers 0795805053 dir.c: rename excluded_from_list() to is_excluded_from_list() 12 years ago
Adam Spiers 9013089c4a dir.c: rename path_excluded() to is_path_excluded() 12 years ago
Adam Spiers 840fc334e9 dir.c: rename cryptic 'which' variable to more consistent name 12 years ago
Adam Spiers 95a68344af Improve documentation and comments regarding directory traversal API 12 years ago
Jeff King 823ab40fd4 add global --literal-pathspecs option 12 years ago
Nguyễn Thái Ngọc Duy 8c6abbcd27 pathspec: apply "*.c" optimization from exclude 12 years ago
Nguyễn Thái Ngọc Duy 5d74762d87 pathspec: do exact comparison on the leading non-wildcard part 12 years ago
Nguyễn Thái Ngọc Duy 170260ae90 pathspec: save the non-wildcard length part 13 years ago
Nguyễn Thái Ngọc Duy 237ec6e40d Support "**" wildcard in .gitignore and .gitattributes 13 years ago
Nguyễn Thái Ngọc Duy 82dce998c2 attr: more matching optimizations from .gitignore 13 years ago
Nguyễn Thái Ngọc Duy 84460eec8d gitignore: make pattern parsing code a separate function 13 years ago
Nguyễn Thái Ngọc Duy b559263216 exclude: split pathname matching code into a separate function 13 years ago
Nguyễn Thái Ngọc Duy a3ea4d7199 exclude: fix a bug in prefix compare optimization 13 years ago
Nguyễn Thái Ngọc Duy 593cb8802e exclude: split basename matching code into a separate function 13 years ago
Nguyễn Thái Ngọc Duy 692663303f exclude: stricten a length check in EXC_FLAG_ENDSWITH case 13 years ago
Junio C Hamano 55b38a48e2 warn_on_inaccessible(): a helper to warn on inaccessible paths 13 years ago
Jeff King 6966073102 gitignore: report access errors of exclude files 13 years ago
Matthieu Moy 6283a376c4 ignore: make sure we have an xdg path before using it 13 years ago
Huynh Khoi Nguyen Nguyen dc79687e0b Let core.excludesfile default to $XDG_CONFIG_HOME/git/ignore 13 years ago
Nguyễn Thái Ngọc Duy f9f6e2ce26 exclude: do strcmp as much as possible before fnmatch 13 years ago
Nguyễn Thái Ngọc Duy fcd631ed84 dir.c: get rid of the wildcard symbol set in no_wildcard() 13 years ago
Junio C Hamano 0d316f0cef dir.c: make excluded() file scope static 13 years ago
Junio C Hamano 782cd4c0f6 path_excluded(): update API to less cache-entry centric 13 years ago
Junio C Hamano 93921b07e9 ls-files -i: micro-optimize path_excluded() 13 years ago
Junio C Hamano eb41775ecc ls-files -i: pay attention to exclusion of leading paths 13 years ago
Nguyễn Thái Ngọc Duy 35a94d44af Unindent excluded_from_list() 13 years ago
René Scharfe 2b189435f3 dir: simplify fill_directory() 13 years ago
René Scharfe 1528d247e5 dir: respect string length argument of read_directory_recursive() 13 years ago
René Scharfe 49dc2cc2c9 dir: convert to strbuf 13 years ago
Junio C Hamano ae2f203ef7 clean: preserve nested git worktree in subdirectories 13 years ago
Junio C Hamano c844a80356 remove_dir_recursively(): Add flag for skipping removal of toplevel dir 13 years ago
Nguyễn Thái Ngọc Duy 02cb67530e read_directory_recursive: reduce one indentation level 14 years ago
Clemens Buchacher f950eb9560 rename pathspec_prefix() to common_prefix() and move to dir.[ch] 14 years ago
Junio C Hamano 4a085b16f4 consolidate pathspec_prefix and common_prefix 14 years ago
Junio C Hamano 33e0f62ba9 pathspec: rename per-item field has_wildcard to use_wildcard 14 years ago
Alex Riesen 0235017eaf clean: unreadable directory may still be rmdir-able if it is empty 14 years ago
Nguyễn Thái Ngọc Duy b892913d51 Kill off get_relative_cwd() 14 years ago
Nguyễn Thái Ngọc Duy 9b125da490 setup: return correct prefix if worktree is '/' 14 years ago
Carlos Martín Nieto e2a57aac8a Name make_*_path functions more accurately 14 years ago
Nguyễn Thái Ngọc Duy 61cf282045 pathspec: add match_pathspec_depth() 14 years ago
Nguyễn Thái Ngọc Duy d38f28093e tree_entry_interesting(): support wildcard matching 14 years ago
Nguyễn Thái Ngọc Duy 86e4ca69e3 tree_entry_interesting(): fix depth limit with overlapping pathspecs 14 years ago
Nguyễn Thái Ngọc Duy bc96cc87db tree_entry_interesting(): support depth limit 14 years ago
Nguyễn Thái Ngọc Duy 0602f3e916 Add struct pathspec 14 years ago
Nguyễn Thái Ngọc Duy 9e082734b3 Revert "excluded_1(): support exclude files in index" 15 years ago
Nguyễn Thái Ngọc Duy 0fd0e2417d dir.c: add free_excludes() 15 years ago
Nguyễn Thái Ngọc Duy fbbb4e19be get_cwd_relative(): do not misinterpret root path 15 years ago
Nguyễn Thái Ngọc Duy ae3cdfe112 dir.c: fix EXC_FLAG_MUSTBEDIR match in sparse checkout 15 years ago
Joshua Jensen 21444f1805 Add case insensitivity support when using git ls-files 15 years ago