summaryrefslogtreecommitdiff
path: root/builtin/clean.c
Commit message (Expand)AuthorAgeFilesLines
* dir.[ch]: replace dir_init() with DIR_INITÆvar Arnfjörð Bjarmason2021-07-011-4/+2
* Merge branch 'en/dir-traversal'Junio C Hamano2021-05-201-3/+1
|\
| * dir: introduce readdir_skip_dot_and_dotdot() helperElijah Newren2021-05-131-3/+1
* | Merge branch 'mt/clean-clean'Junio C Hamano2021-05-141-3/+1
|\ \ | |/ |/|
| * clean: remove unnecessary variableMatheus Tavares2021-05-071-3/+1
* | use CALLOC_ARRAYRené Scharfe2021-03-131-1/+1
* | quote_path: give flags parameter to quote_path()Junio C Hamano2020-09-101-11/+11
* | quote_path: rename quote_path_relative() to quote_path()Junio C Hamano2020-09-101-11/+11
* | dir: fix problematic API to avoid memory leaksElijah Newren2020-08-181-4/+4
* | dir: make clear_directory() free all relevant memoryElijah Newren2020-08-181-5/+1
* | clean: optimize and document cases where we recurse into subdirectoriesElijah Newren2020-06-121-2/+31
* | clean: consolidate handling of ignored parametersElijah Newren2020-06-121-9/+7
* | dir, clean: avoid disallowed behaviorElijah Newren2020-06-121-1/+1
|/
* Merge branch 'dl/opt-callback-cleanup'Junio C Hamano2020-05-051-2/+2
|\
| * Use OPT_CALLBACK and OPT_CALLBACK_FDenton Liu2020-04-281-2/+2
* | Merge branch 'en/fill-directory-exponential'Junio C Hamano2020-04-291-6/+0
|\ \ | |/ |/|
| * Fix error-prone fill_directory() API; make it only return matchesElijah Newren2020-04-011-6/+0
* | interactive: refactor code asking the user for interactive inputJohannes Schindelin2020-04-101-10/+4
|/
* Merge branch 'en/clean-nested-with-ignored'Junio C Hamano2019-10-111-2/+13
|\
| * clean: fix theoretical path corruptionElijah Newren2019-09-171-1/+1
| * clean: rewrap overly long lineElijah Newren2019-09-171-1/+2
| * clean: avoid removing untracked files in a nested git repositoryElijah Newren2019-09-171-0/+2
| * clean: disambiguate the definition of -dElijah Newren2019-09-171-0/+8
* | Merge branch 'ds/include-exclude'Junio C Hamano2019-09-301-6/+6
|\ \ | |/ |/|
| * treewide: rename 'exclude' methods to 'pattern'Derrick Stolee2019-09-051-4/+4
| * treewide: rename 'struct exclude_list' to 'struct pattern_list'Derrick Stolee2019-09-051-6/+6
* | clean: show an error message when the path is too longJohannes Schindelin2019-07-191-1/+2
|/
* cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy2019-01-241-0/+1
* assert NOARG/NONEG behavior of parse-options callbacksJeff King2018-11-061-0/+1
* dir.c: remove an implicit dependency on the_index in pathspec codeNguyễn Thái Ngọc Duy2018-08-131-1/+1
* help: add --config to list all available configNguyễn Thái Ngọc Duy2018-05-291-0/+3
* Add and use generic name->id mapping code for color slot parsingNguyễn Thái Ngọc Duy2018-05-291-18/+10
* completion: use __gitcomp_builtin in _git_cleanNguyễn Thái Ngọc Duy2018-02-091-1/+1
* parse-options: let OPT__FORCE take optional flags argumentNguyễn Thái Ngọc Duy2018-02-091-1/+1
* Merge branch 'jk/ref-filter-colors-fix'Junio C Hamano2017-10-181-1/+2
|\
| * Revert "color: check color.ui in git_default_config()"Jeff King2017-10-171-1/+2
* | clean: release strbuf after use in remove_dirs()Rene Scharfe2017-09-071-2/+5
* | Merge branch 'jk/c99'Junio C Hamano2017-08-111-9/+10
|\ \ | |/ |/|
| * clean.c: use designated initializerjk/c99Junio C Hamano2017-07-181-9/+10
* | color: check color.ui in git_default_config()Jeff King2017-07-131-2/+1
|/
* Merge branch 'ab/free-and-null'Junio C Hamano2017-06-241-4/+2
|\
| * coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason2017-06-161-4/+2
* | Merge branch 'bw/config-h'Junio C Hamano2017-06-241-0/+1
|\ \ | |/ |/|
| * config: don't include config.h by defaultBrandon Williams2017-06-151-0/+1
* | Merge branch 'sl/clean-d-ignored-fix'Junio C Hamano2017-06-021-0/+42
|\ \
| * | clean: teach clean -d to preserve ignored pathssl/clean-d-ignored-fixSamuel Lijin2017-05-241-0/+42
* | | dir: convert fill_directory to take an indexbw/dir-c-stops-relying-on-the-indexBrandon Williams2017-05-061-1/+1
* | | dir: convert is_excluded to take an indexBrandon Williams2017-05-061-1/+1
| |/ |/|
* | Merge branch 'nd/clean-preserve-errno-in-warning'Junio C Hamano2017-02-271-4/+12
|\ \ | |/ |/|
| * clean: use warning_errno() when appropriatend/clean-preserve-errno-in-warningNguyễn Thái Ngọc Duy2017-02-161-4/+12