index
:
git.git
main
maint
master
next
seen
todo
The core git plumbing
Junio C. Hamano
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
dir.h
Age
Commit message (
Expand
)
Author
Files
Lines
2024-02-26
dir: create untracked_cache_invalidate_trimmed_path()
Jeff Hostetler
1
-0
/
+7
2023-10-09
dir.[ch]: add 'follow_symlink' arg to 'get_dtype'
Victoria Dye
1
-1
/
+6
2023-10-09
dir.[ch]: expose 'get_dtype'
Victoria Dye
1
-0
/
+11
2023-07-06
Merge branch 'cw/strbuf-cleanup'
Junio C Hamano
1
-0
/
+4
2023-06-29
Merge branch 'en/header-split-cache-h-part-3'
Junio C Hamano
1
-0
/
+1
2023-06-21
hash-ll, hashmap: move oidhash() to hash-ll
Elijah Newren
1
-0
/
+1
2023-06-12
object-name: move related functions to object-name
Calvin Wan
1
-0
/
+2
2023-06-12
statinfo.h: move DTYPE defines from dir.h
Alejandro R. Sedeño
1
-14
/
+0
2023-04-24
dir.h: move DTYPE defines from cache.h
Elijah Newren
1
-0
/
+15
2023-03-17
Merge branch 'en/header-cleanup'
Junio C Hamano
1
-14
/
+2
2023-02-27
dir: mark output only fields of dir_struct as such
Elijah Newren
1
-8
/
+8
2023-02-27
dir: add a usage note to exclude_per_dir
Elijah Newren
1
-2
/
+6
2023-02-27
dir: separate public from internal portion of dir_struct
Elijah Newren
1
-40
/
+46
2023-02-23
dir.h: refactor to no longer need to include cache.h
Elijah Newren
1
-14
/
+2
2022-11-21
dir.c: free "ident" and "exclude_per_dir" in "struct untracked_cache"
Ævar Arnfjörð Bjarmason
1
-0
/
+1
2022-08-19
match_pathname(): drop unused "flags" parameter
Jeff King
1
-1
/
+1
2022-05-16
dir API: add a generalized path_match_flags() function
Ævar Arnfjörð Bjarmason
1
-0
/
+63
2021-12-09
dir: new flag to remove_dir_recurse() to spare the original_cwd
Elijah Newren
1
-0
/
+3
2021-12-09
dir: avoid incidentally removing the original_cwd in remove_path()
Elijah Newren
1
-1
/
+5
2021-09-20
Merge branch 'ds/sparse-index-ignored-files'
Junio C Hamano
1
-0
/
+8
2021-09-07
sparse-checkout: create helper methods
Derrick Stolee
1
-0
/
+8
2021-08-10
dir: libify and export helper functions from clone.c
Atharva Raykar
1
-0
/
+11
2021-07-28
Merge branch 'ew/many-alternate-optim'
Junio C Hamano
1
-0
/
+2
2021-07-07
speed up alt_odb_usable() with many alternates
Eric Wong
1
-0
/
+2
2021-07-01
dir.[ch]: replace dir_init() with DIR_INIT
Ævar Arnfjörð Bjarmason
1
-2
/
+2
2021-05-20
Merge branch 'en/dir-traversal'
Junio C Hamano
1
-0
/
+6
2021-05-13
dir: introduce readdir_skip_dot_and_dotdot() helper
Elijah Newren
1
-0
/
+2
2021-05-13
dir: report number of visited directories and paths with trace2
Elijah Newren
1
-0
/
+4
2021-04-30
Merge branch 'ds/sparse-index-protections'
Junio C Hamano
1
-4
/
+4
2021-04-14
*: remove 'const' qualifier for struct index_state
Derrick Stolee
1
-4
/
+4
2021-02-16
exclude: add flags parameter to add_patterns()
Jeff King
1
-1
/
+2
2021-01-23
sparse-checkout: load sparse-checkout patterns
Derrick Stolee
1
-0
/
+2
2020-08-18
dir: fix problematic API to avoid memory leaks
Elijah Newren
1
-10
/
+11
2020-08-18
dir: make clear_directory() free all relevant memory
Elijah Newren
1
-1
/
+1
2019-12-25
Merge branch 'ds/sparse-cone'
Junio C Hamano
1
-0
/
+36
2019-11-22
unpack-trees: hash less in cone mode
Derrick Stolee
1
-0
/
+1
2019-11-22
sparse-checkout: init and set in cone mode
Derrick Stolee
1
-0
/
+4
2019-11-22
sparse-checkout: use hashmaps for cone patterns
Derrick Stolee
1
-0
/
+31
2019-11-18
dir: move doc to dir.h
Heba Waly
1
-5
/
+114
2019-10-11
Merge branch 'en/clean-nested-with-ignored'
Junio C Hamano
1
-3
/
+5
2019-09-17
clean: avoid removing untracked files in a nested git repository
Elijah Newren
1
-1
/
+2
2019-09-17
dir: if our pathspec might match files under a dir, recurse into it
Elijah Newren
1
-2
/
+3
2019-09-05
unpack-trees: rename 'is_excluded_from_list()'
Derrick Stolee
1
-4
/
+17
2019-09-05
treewide: rename 'exclude' methods to 'pattern'
Derrick Stolee
1
-11
/
+11
2019-09-05
treewide: rename 'EXCL_FLAG_' to 'PATTERN_FLAG_'
Derrick Stolee
1
-5
/
+5
2019-09-05
treewide: rename 'struct exclude_list' to 'struct pattern_list'
Derrick Stolee
1
-9
/
+9
2019-09-05
treewide: rename 'struct exclude' to 'struct path_pattern'
Derrick Stolee
1
-4
/
+4
2019-05-13
Merge branch 'dl/no-extern-in-func-decl'
Junio C Hamano
1
-70
/
+70
2019-05-09
Merge branch 'nd/sha1-name-c-wo-the-repository'
Junio C Hamano
1
-1
/
+3
2019-05-05
*.[ch]: manually align parameter lists
Denton Liu
1
-31
/
+31
2019-05-05
*.[ch]: remove extern from function declarations using spatch
Denton Liu
1
-35
/
+35
2019-04-16
sha1-name.c: remove the_repo from diagnose_invalid_index_path()
Nguyễn Thái Ngọc Duy
1
-1
/
+3
2019-03-20
report_path_error(): drop unused prefix parameter
Jeff King
1
-1
/
+1
2018-08-13
dir.c: remove an implicit dependency on the_index in pathspec code
Nguyễn Thái Ngọc Duy
1
-6
/
+10
2018-05-30
Merge branch 'bc/object-id'
Junio C Hamano
1
-2
/
+3
2018-05-08
Merge branch 'sb/submodule-move-nested'
Junio C Hamano
1
-1
/
+11
2018-05-02
dir: convert struct untracked_cache_dir to object_id
brian m. carlson
1
-2
/
+3
2018-03-29
submodule: fixup nested submodules after moving the submodule
Stefan Beller
1
-1
/
+11
2018-02-27
Merge branch 'nd/fix-untracked-cache-invalidation'
Junio C Hamano
1
-1
/
+1
2018-02-07
dir.c: ignore paths containing .git when invalidating untracked cache
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2018-01-30
dir: convert struct sha1_stat to use object_id
Patryk Obara
1
-6
/
+6
2017-12-27
Merge branch 'jh/object-filtering'
Junio C Hamano
1
-0
/
+3
2017-11-22
dir: allow exclusions from blob in addition to file
Jeff Hostetler
1
-0
/
+3
2017-11-21
Merge branch 'bp/fsmonitor'
Junio C Hamano
1
-0
/
+2
2017-10-31
status: add option to show ignored files differently
Jameson Miller
1
-1
/
+2
2017-10-01
fsmonitor: teach git to optionally utilize a file system monitor to speed up ...
Ben Peart
1
-0
/
+2
2017-06-22
Merge branch 'pc/dir-count-slashes'
Junio C Hamano
1
-0
/
+3
2017-06-12
dir: create function count_slashes()
Prathamesh Chavan
1
-0
/
+3
2017-06-02
Merge branch 'sl/clean-d-ignored-fix'
Junio C Hamano
1
-1
/
+5
2017-05-22
dir: expose cmp_name() and check_contains()
Samuel Lijin
1
-0
/
+3
2017-05-22
dir: hide untracked contents of untracked dirs
Samuel Lijin
1
-1
/
+2
2017-05-06
dir: convert fill_directory to take an index
Brandon Williams
1
-1
/
+3
2017-05-06
dir: convert read_directory to take an index
Brandon Williams
1
-1
/
+3
2017-05-06
dir: convert is_excluded to take an index
Brandon Williams
1
-1
/
+4
2017-05-06
dir: convert add_excludes to take an index
Brandon Williams
1
-1
/
+1
2017-05-06
dir: convert is_excluded_from_list to take an index
Brandon Williams
1
-2
/
+4
2017-05-06
dir: convert dir_add* to take an index
Brandon Williams
1
-1
/
+3
2016-12-12
submodule: add absorb-git-dir function
Stefan Beller
1
-0
/
+3
2016-12-12
move connect_work_tree_and_git_dir to dir.h
Stefan Beller
1
-0
/
+1
2016-10-10
ls-files: add pathspec matching for submodules
Brandon Williams
1
-0
/
+4
2016-07-25
Merge branch 'mh/split-under-lock'
Junio C Hamano
1
-0
/
+23
2016-05-23
Merge branch 'nd/worktree-various-heads'
Junio C Hamano
1
-2
/
+2
2016-05-05
remove_dir_recursively(): add docstring
Michael Haggerty
1
-0
/
+23
2016-04-22
dir.c: rename str(n)cmp_icase to fspath(n)cmp
Nguyễn Thái Ngọc Duy
1
-2
/
+2
2016-04-22
dir.c: remove dead function fnmatch_icase()
Nguyễn Thái Ngọc Duy
1
-1
/
+0
2016-04-14
Merge branch 'ss/exc-flag-is-a-collection-of-bits' into maint
Junio C Hamano
1
-4
/
+4
2016-04-06
Merge branch 'ss/exc-flag-is-a-collection-of-bits'
Junio C Hamano
1
-4
/
+4
2016-03-18
Revert "Merge branch 'nd/exclusion-regression-fix'"
Junio C Hamano
1
-3
/
+0
2016-03-01
dir: store EXC_FLAG_* values in unsigned integers
Saurav Sachidanand
1
-4
/
+4
2016-02-15
dir.c: support marking some patterns already matched
Nguyễn Thái Ngọc Duy
1
-0
/
+3
2016-01-25
dir: simplify untracked cache "ident" field
Christian Couder
1
-1
/
+0
2016-01-25
dir: add remove_untracked_cache()
Christian Couder
1
-0
/
+1
2016-01-25
dir: add {new,add}_untracked_cache()
Christian Couder
1
-0
/
+1
2015-05-26
Merge branch 'nd/untracked-cache'
Junio C Hamano
1
-0
/
+82
2015-03-26
Merge branch 'jc/report-path-error-to-dir'
Junio C Hamano
1
-0
/
+1
2015-03-24
report_path_error(): move to dir.c
Junio C Hamano
1
-0
/
+1
2015-03-12
untracked cache: guard and disable on system changes
Nguyễn Thái Ngọc Duy
1
-0
/
+2
2015-03-12
untracked cache: invalidate at index addition or removal
Nguyễn Thái Ngọc Duy
1
-0
/
+4
2015-03-12
untracked cache: load from UNTR index extension
Nguyễn Thái Ngọc Duy
1
-0
/
+2
2015-03-12
untracked cache: save to an index extension
Nguyễn Thái Ngọc Duy
1
-0
/
+1
2015-03-12
untracked cache: mark what dirs should be recursed/saved
Nguyễn Thái Ngọc Duy
1
-1
/
+2
2015-03-12
untracked cache: record/validate dir mtime and reuse cached output
Nguyễn Thái Ngọc Duy
1
-0
/
+2
2015-03-12
untracked cache: initial untracked cache validation
Nguyễn Thái Ngọc Duy
1
-0
/
+4
2015-03-12
untracked cache: record .gitignore information and dir hierarchy
Nguyễn Thái Ngọc Duy
1
-0
/
+60
2015-03-12
dir.c: optionally compute sha-1 of a .gitignore file
Nguyễn Thái Ngọc Duy
1
-0
/
+6
2014-07-14
prep_exclude: remove the artificial PATH_MAX limit
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2014-07-14
dir.h: move struct exclude declaration to top level
Nguyễn Thái Ngọc Duy
1
-20
/
+22
2014-02-24
pathspec: pass directory indicator to match_pathspec_item()
Nguyễn Thái Ngọc Duy
1
-3
/
+7
2014-02-24
pathspec: rename match_pathspec_depth() to match_pathspec()
Nguyễn Thái Ngọc Duy
1
-5
/
+5
2014-02-24
pathspec: convert some match_pathspec_depth() to dir_path_match()
Nguyễn Thái Ngọc Duy
1
-0
/
+7
2014-02-24
pathspec: convert some match_pathspec_depth() to ce_path_match()
Nguyễn Thái Ngọc Duy
1
-0
/
+7
2013-09-11
Merge branch 'jc/ls-files-killed-optim'
Junio C Hamano
1
-1
/
+2
2013-08-15
ls-files -k: a directory only can be killed if the index has a non-directory
Junio C Hamano
1
-1
/
+2
2013-07-15
pathspec: support :(glob) syntax
Nguyễn Thái Ngọc Duy
1
-5
/
+4
2013-07-15
remove match_pathspec() in favor of match_pathspec_depth()
Nguyễn Thái Ngọc Duy
1
-1
/
+0
2013-07-15
convert common_prefix() to use struct pathspec
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2013-07-15
convert {read,fill}_directory to take struct pathspec
Nguyễn Thái Ngọc Duy
1
-2
/
+2
2013-07-15
add parse_pathspec() that converts cmdline args to struct pathspec
Nguyễn Thái Ngọc Duy
1
-0
/
+2
2013-04-15
dir.c: git-status --ignored: don't scan the work tree twice
Karsten Blees
1
-1
/
+2
2013-04-15
dir.c: replace is_path_excluded with now equivalent is_excluded API
Karsten Blees
1
-13
/
+3
2013-04-15
dir.c: unify is_excluded and is_path_excluded APIs
Karsten Blees
1
-3
/
+3
2013-01-23
Merge branch 'as/check-ignore'
Junio C Hamano
1
-11
/
+51
2013-01-10
Merge branch 'as/dir-c-cleanup'
Junio C Hamano
1
-10
/
+35
2013-01-06
dir.c: improve docs for match_pathspec() and match_pathspec_depth()
Adam Spiers
1
-0
/
+6
2013-01-06
dir.c: provide clear_directory() for reclaiming dir_struct memory
Adam Spiers
1
-0
/
+1
2013-01-06
dir.c: keep track of where patterns came from
Adam Spiers
1
-2
/
+19
2013-01-06
dir.c: use a single struct exclude_list per source of excludes
Adam Spiers
1
-10
/
+26
2012-12-28
dir.c: rename free_excludes() to clear_exclude_list()
Adam Spiers
1
-1
/
+1
2012-12-28
dir.c: refactor is_path_excluded()
Adam Spiers
1
-0
/
+3
2012-12-28
dir.c: rename excluded() to is_excluded()
Adam Spiers
1
-2
/
+2
2012-12-28
dir.c: rename excluded_from_list() to is_excluded_from_list()
Adam Spiers
1
-2
/
+2
2012-12-28
dir.c: rename path_excluded() to is_path_excluded()
Adam Spiers
1
-1
/
+1
2012-12-28
dir.c: rename cryptic 'which' variable to more consistent name
Adam Spiers
1
-2
/
+2
2012-12-28
Improve documentation and comments regarding directory traversal API
Adam Spiers
1
-2
/
+24
2012-11-26
pathspec: apply "*.c" optimization from exclude
Nguyễn Thái Ngọc Duy
1
-0
/
+1
2012-11-26
pathspec: do exact comparison on the leading non-wildcard part
Nguyễn Thái Ngọc Duy
1
-0
/
+8
2012-10-15
attr: more matching optimizations from .gitignore
Nguyễn Thái Ngọc Duy
1
-0
/
+11
2012-10-15
gitignore: make pattern parsing code a separate function
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2012-10-05
Merge commit 'f9f6e2c' into nd/attr-match-optim-more
Junio C Hamano
1
-1
/
+1
2012-07-11
Merge branch 'jc/ls-files-i-dir' into maint
Junio C Hamano
1
-1
/
+17
2012-06-07
exclude: do strcmp as much as possible before fnmatch
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2012-06-05
dir.c: make excluded() file scope static
Junio C Hamano
1
-1
/
+0
2012-06-05
path_excluded(): update API to less cache-entry centric
Junio C Hamano
1
-1
/
+2
2012-06-03
ls-files -i: pay attention to exclusion of leading paths
Junio C Hamano
1
-0
/
+16
2012-03-15
remove_dir_recursively(): Add flag for skipping removal of toplevel dir
Junio C Hamano
1
-0
/
+1
2011-09-12
rename pathspec_prefix() to common_prefix() and move to dir.[ch]
Clemens Buchacher
1
-1
/
+1
2011-09-06
consolidate pathspec_prefix and common_prefix
Junio C Hamano
1
-0
/
+1
2011-05-02
Merge branch 'nd/maint-setup'
Junio C Hamano
1
-1
/
+1
2011-03-28
Kill off get_relative_cwd()
Nguyễn Thái Ngọc Duy
1
-1
/
+0
2011-03-28
setup: return correct prefix if worktree is '/'
Nguyễn Thái Ngọc Duy
1
-0
/
+1
2011-02-03
pathspec: add match_pathspec_depth()
Nguyễn Thái Ngọc Duy
1
-0
/
+3
2011-02-03
tree_entry_interesting(): support depth limit
Nguyễn Thái Ngọc Duy
1
-0
/
+1
2010-12-22
Merge branch 'nd/maint-fix-add-typo-detection'
Junio C Hamano
1
-0
/
+1
2010-11-29
dir.c: add free_excludes()
Nguyễn Thái Ngọc Duy
1
-0
/
+1
2010-10-06
Add string comparison functions that respect the ignore_case variable.
Joshua Jensen
1
-0
/
+4
2010-07-12
git add: Add the "--ignore-missing" option for the dry run
Jens Lehmann
1
-0
/
+1
2010-01-13
Merge branch 'nd/sparse'
Junio C Hamano
1
-0
/
+4
2009-08-23
dir.c: export excluded_1() and add_excludes_from_file_1()
Nguyễn Thái Ngọc Duy
1
-0
/
+4
2009-07-29
clean: require double -f options to nuke nested git repository and work tree
Junio C Hamano
1
-1
/
+4
2009-07-09
Simplify read_directory[_recursive]() arguments
Linus Torvalds
1
-1
/
+1
2009-07-09
Add 'fill_directory()' helper function for directory traversal
Linus Torvalds
1
-2
/
+1
2009-02-18
Turn the flags in struct dir_struct into a single variable
Johannes Schindelin
1
-5
/
+7
2009-01-11
Allow cloning to an existing empty directory
Alexander Potashev
1
-0
/
+2
2009-01-11
add is_dot_or_dotdot inline function
Alexander Potashev
1
-0
/
+7
2008-10-02
dir.c: make dir_add_name() and dir_add_ignored() static
Nanako Shiraishi
1
-1
/
+0
2008-09-29
Add remove_path: a function to remove as much as possible of a path
Alex Riesen
1
-0
/
+3
2008-02-05
gitignore: lazily find dtype
Junio C Hamano
1
-1
/
+1
2008-02-05
gitignore(5): Allow "foo/" in ignore list to match directory "foo"
Junio C Hamano
1
-1
/
+2
2007-11-29
per-directory-exclude: lazily read .gitignore files
Junio C Hamano
1
-13
/
+19
2007-11-14
core.excludesfile clean-up
Junio C Hamano
1
-0
/
+1
2007-10-29
Speedup scanning for excluded files.
Lars Knoll
1
-0
/
+7
2007-09-30
Introduce remove_dir_recursively()
Johannes Schindelin
1
-0
/
+2
2007-08-01
Add functions get_relative_cwd() and is_inside_dir()
Johannes Schindelin
1
-0
/
+3
2007-06-13
builtin-add: simplify (and increase accuracy of) exclude handling
Jeff King
1
-3
/
+1
2007-06-13
dir_struct: add collect_ignored option
Jeff King
1
-1
/
+4
2007-05-21
rename dirlink to gitlink.
Martin Waitz
1
-1
/
+1
2007-04-11
Teach directory traversal about subprojects
Linus Torvalds
1
-1
/
+2
2007-03-31
Optimize directory listing with pathspec limiter.
Linus Torvalds
1
-1
/
+1
2006-12-29
Fix 'git add' with .gitignore
Junio C Hamano
1
-1
/
+4
2006-12-29
Revert "read_directory: show_both option."
Junio C Hamano
1
-4
/
+2
2006-12-25
read_directory: show_both option.
Junio C Hamano
1
-2
/
+4
2006-12-25
match_pathspec() -- return how well the spec matched
Junio C Hamano
1
-0
/
+4
2006-12-05
read-tree: further loosen "working file will be lost" check.
Junio C Hamano
1
-0
/
+3
2006-09-08
git-commit.sh: convert run_status to a C builtin
Jeff King
1
-0
/
+1
2006-05-19
Move pathspec matching from builtin-add.c into dir.c
Linus Torvalds
1
-0
/
+3
2006-05-17
Clean up git-ls-file directory walking library interface
Linus Torvalds
1
-2
/
+0
2006-05-17
libify git-ls-files directory traversal
Linus Torvalds
1
-0
/
+50