summaryrefslogtreecommitdiff
path: root/dir.c
AgeCommit message (Expand)AuthorFilesLines
2015-05-13Merge branch 'cn/bom-in-gitignore' into maintLibravatar Junio C Hamano1-0/+6
2015-04-16utf8-bom: introduce skip_utf8_bom() helperLibravatar Junio C Hamano1-5/+4
2015-04-16add_excludes_from_file: clarify the bom skipping logicLibravatar Junio C Hamano1-4/+5
2015-04-16dir: allow a BOM at the beginning of exclude filesLibravatar Carlos Martín Nieto1-1/+7
2015-03-26Merge branch 'jc/report-path-error-to-dir'Libravatar Junio C Hamano1-0/+43
2015-03-24report_path_error(): move to dir.cLibravatar Junio C Hamano1-0/+43
2014-10-24Merge branch 'nd/dir-prep-exclude-cleanup'Libravatar Junio C Hamano1-1/+1
2014-10-21dir.c: remove the second declaration of "stk" in prep_exclude()Libravatar Nguyễn Thái Ngọc Duy1-1/+1
2014-09-02Merge branch 'rs/strbuf-getcwd'Libravatar Junio C Hamano1-4/+8
2014-08-26use xgetcwd() to get the current directory or dieLibravatar René Scharfe1-4/+8
2014-07-14prep_exclude: remove the artificial PATH_MAX limitLibravatar Nguyễn Thái Ngọc Duy1-19/+28
2014-07-14dir.c: coding style fixLibravatar Nguyễn Thái Ngọc Duy1-6/+6
2014-06-20cleanup duplicate name_compare() functionsLibravatar Jeremiah Mahler1-2/+1
2014-06-02dir.c:trim_trailing_spaces(): fix for " \ " sequenceLibravatar Pasha Bolokhov1-15/+19
2014-04-03Merge branch 'cb/aix'Libravatar Junio C Hamano1-3/+3
2014-03-31dir.c: make git_fnmatch() not inlineLibravatar Charles Bailey1-3/+3
2014-03-18Merge branch 'dd/use-alloc-grow'Libravatar Junio C Hamano1-4/+1
2014-03-14Merge branch 'nd/no-more-fnmatch'Libravatar Junio C Hamano1-4/+7
2014-03-14Merge branch 'nd/gitignore-trailing-whitespace'Libravatar Junio C Hamano1-0/+20
2014-03-03dir.c: use ALLOC_GROW() in create_simplify()Libravatar Dmitry S. Dolzhenko1-4/+1
2014-02-24pathspec: pass directory indicator to match_pathspec_item()Libravatar Nguyễn Thái Ngọc Duy1-2/+2
2014-02-24match_pathspec: match pathspec "foo/" against directory "foo"Libravatar Nguyễn Thái Ngọc Duy1-1/+6
2014-02-24dir.c: prepare match_pathspec_item for taking more flagsLibravatar Nguyễn Thái Ngọc Duy1-6/+13
2014-02-24pathspec: rename match_pathspec_depth() to match_pathspec()Libravatar Nguyễn Thái Ngọc Duy1-10/+10
2014-02-20use wildmatch() directly without fnmatch() wrapperLibravatar Nguyễn Thái Ngọc Duy1-4/+7
2014-02-10dir: ignore trailing spaces in exclude patternsLibravatar Nguyễn Thái Ngọc Duy1-9/+12
2014-02-10dir: warn about trailing spaces in exclude patternsLibravatar Nguyễn Thái Ngọc Duy1-0/+17
2014-01-27Merge branch 'mh/safe-create-leading-directories'Libravatar Junio C Hamano1-7/+20
2014-01-21remove_dir_recurse(): handle disappearing files and directoriesLibravatar Michael Haggerty1-6/+16
2014-01-21remove_dir_recurse(): tighten condition for removing unreadable dirLibravatar Michael Haggerty1-2/+5
2013-12-06Support pathspec magic :(exclude) and its short form :!Libravatar Nguyễn Thái Ngọc Duy1-6/+41
2013-09-17dir: revert work-around for retired dangerous behaviorLibravatar Eric Sunshine1-15/+3
2013-09-17name-hash: stop storing trailing '/' on paths in index_state.dir_hashLibravatar Eric Sunshine1-1/+1
2013-09-17employ new explicit "exists in index?" APILibravatar Eric Sunshine1-5/+5
2013-09-11Merge branch 'jc/ls-files-killed-optim'Libravatar Junio C Hamano1-8/+44
2013-09-09Merge branch 'jl/submodule-mv'Libravatar Junio C Hamano1-208/+111
2013-08-23dir.c::test_one_path(): work around directory_exists_in_index_icase() breakageLibravatar Eric Sunshine1-3/+15
2013-08-15ls-files -k: a directory only can be killed if the index has a non-directoryLibravatar Junio C Hamano1-2/+27
2013-08-15dir.c: use the cache_* macro to access the current indexLibravatar Junio C Hamano1-6/+5
2013-07-22Merge branch 'nd/const-struct-cache-entry'Libravatar Junio C Hamano1-3/+3
2013-07-15parse_pathspec: accept :(icase)path syntaxLibravatar Nguyễn Thái Ngọc Duy1-12/+62
2013-07-15pathspec: support :(glob) syntaxLibravatar Nguyễn Thái Ngọc Duy1-12/+16
2013-07-15pathspec: support :(literal) syntax for noglob pathspecLibravatar Nguyễn Thái Ngọc Duy1-3/+12
2013-07-15kill limit_pathspec_to_literal() as it's only used by parse_pathspec()Libravatar Nguyễn Thái Ngọc Duy1-8/+0
2013-07-15rename field "raw" to "_raw" in struct pathspecLibravatar Nguyễn Thái Ngọc Duy1-2/+2
2013-07-15remove match_pathspec() in favor of match_pathspec_depth()Libravatar Nguyễn Thái Ngọc Duy1-107/+0
2013-07-15remove init_pathspec() in favor of parse_pathspec()Libravatar Nguyễn Thái Ngọc Duy1-58/+0
2013-07-15convert common_prefix() to use struct pathspecLibravatar Nguyễn Thái Ngọc Duy1-16/+15
2013-07-15convert {read,fill}_directory to take struct pathspecLibravatar Nguyễn Thái Ngọc Duy1-5/+11
2013-07-15guard against new pathspec magic in pathspec matching codeLibravatar Nguyễn Thái Ngọc Duy1-0/+2