134 Commits (74ae0652c4736629db9c97f7a3ac7cebedaeae10)

Author SHA1 Message Date
Nguyễn Thái Ngọc Duy 87323bdace add parse_pathspec() that converts cmdline args to struct pathspec 12 years ago
Karsten Blees 0aaf62b6e0 dir.c: git-status --ignored: don't scan the work tree twice 12 years ago
Karsten Blees b07bc8c8c3 dir.c: replace is_path_excluded with now equivalent is_excluded API 12 years ago
Karsten Blees 95c6f27164 dir.c: unify is_excluded and is_path_excluded APIs 12 years ago
Adam Spiers 52ed1894b0 dir.c: improve docs for match_pathspec() and match_pathspec_depth() 12 years ago
Adam Spiers 270be81604 dir.c: provide clear_directory() for reclaiming dir_struct memory 12 years ago
Adam Spiers c04318e46a dir.c: keep track of where patterns came from 12 years ago
Adam Spiers c082df2453 dir.c: use a single struct exclude_list per source of excludes 12 years ago
Adam Spiers f619881251 dir.c: rename free_excludes() to clear_exclude_list() 12 years ago
Adam Spiers a35341a86e dir.c: refactor is_path_excluded() 12 years ago
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
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 82dce998c2 attr: more matching optimizations from .gitignore 12 years ago
Nguyễn Thái Ngọc Duy 84460eec8d gitignore: make pattern parsing code a separate function 12 years ago
Nguyễn Thái Ngọc Duy f9f6e2ce26 exclude: do strcmp as much as possible before fnmatch 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 eb41775ecc ls-files -i: pay attention to exclusion of leading paths 13 years ago
Junio C Hamano c844a80356 remove_dir_recursively(): Add flag for skipping removal of toplevel dir 13 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
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
Nguyễn Thái Ngọc Duy 61cf282045 pathspec: add match_pathspec_depth() 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 0fd0e2417d dir.c: add free_excludes() 14 years ago
Joshua Jensen 8cf2a84e9d Add string comparison functions that respect the ignore_case variable. 14 years ago
Jens Lehmann 108da0db12 git add: Add the "--ignore-missing" option for the dry run 15 years ago
Nguyễn Thái Ngọc Duy cb09753423 dir.c: export excluded_1() and add_excludes_from_file_1() 16 years ago
Junio C Hamano a0f4afbe87 clean: require double -f options to nuke nested git repository and work tree 16 years ago
Linus Torvalds dba2e2037f Simplify read_directory[_recursive]() arguments 16 years ago
Linus Torvalds 1d8842d921 Add 'fill_directory()' helper function for directory traversal 16 years ago
Johannes Schindelin 7c4c97c0ac Turn the flags in struct dir_struct into a single variable 16 years ago
Alexander Potashev 55892d2398 Allow cloning to an existing empty directory 16 years ago
Alexander Potashev 8ca12c0d62 add is_dot_or_dotdot inline function 16 years ago
Nanako Shiraishi 159b321270 dir.c: make dir_add_name() and dir_add_ignored() static 16 years ago
Alex Riesen 4a92d1bfb7 Add remove_path: a function to remove as much as possible of a path 17 years ago
Junio C Hamano 6831a88ac0 gitignore: lazily find dtype 17 years ago
Junio C Hamano d6b8fc303b gitignore(5): Allow "foo/" in ignore list to match directory "foo" 17 years ago
Junio C Hamano 63d285c849 per-directory-exclude: lazily read .gitignore files 17 years ago
Junio C Hamano dcf0c16ef1 core.excludesfile clean-up 17 years ago
Junio C Hamano 039bc64e88 core.excludesfile clean-up 17 years ago
Lars Knoll 68492fc73b Speedup scanning for excluded files. 17 years ago
Johannes Schindelin 7155b727c9 Introduce remove_dir_recursively() 18 years ago
Johannes Schindelin e663674722 Add functions get_relative_cwd() and is_inside_dir() 18 years ago