summaryrefslogtreecommitdiff
path: root/builtin/clean.c
AgeCommit message (Expand)AuthorFilesLines
2020-08-18dir: fix problematic API to avoid memory leaksLibravatar Elijah Newren1-4/+4
2020-08-18dir: make clear_directory() free all relevant memoryLibravatar Elijah Newren1-5/+1
2020-06-12clean: optimize and document cases where we recurse into subdirectoriesLibravatar Elijah Newren1-2/+31
2020-06-12clean: consolidate handling of ignored parametersLibravatar Elijah Newren1-9/+7
2020-06-12dir, clean: avoid disallowed behaviorLibravatar Elijah Newren1-1/+1
2020-05-05Merge branch 'dl/opt-callback-cleanup'Libravatar Junio C Hamano1-2/+2
2020-04-29Merge branch 'en/fill-directory-exponential'Libravatar Junio C Hamano1-6/+0
2020-04-28Use OPT_CALLBACK and OPT_CALLBACK_FLibravatar Denton Liu1-2/+2
2020-04-10interactive: refactor code asking the user for interactive inputLibravatar Johannes Schindelin1-10/+4
2020-04-01Fix error-prone fill_directory() API; make it only return matchesLibravatar Elijah Newren1-6/+0
2019-10-11Merge branch 'en/clean-nested-with-ignored'Libravatar Junio C Hamano1-2/+13
2019-09-30Merge branch 'ds/include-exclude'Libravatar Junio C Hamano1-6/+6
2019-09-17clean: fix theoretical path corruptionLibravatar Elijah Newren1-1/+1
2019-09-17clean: rewrap overly long lineLibravatar Elijah Newren1-1/+2
2019-09-17clean: avoid removing untracked files in a nested git repositoryLibravatar Elijah Newren1-0/+2
2019-09-17clean: disambiguate the definition of -dLibravatar Elijah Newren1-0/+8
2019-09-05treewide: rename 'exclude' methods to 'pattern'Libravatar Derrick Stolee1-4/+4
2019-09-05treewide: rename 'struct exclude_list' to 'struct pattern_list'Libravatar Derrick Stolee1-6/+6
2019-07-19clean: show an error message when the path is too longLibravatar Johannes Schindelin1-1/+2
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchLibravatar Nguyễn Thái Ngọc Duy1-0/+1
2018-11-06assert NOARG/NONEG behavior of parse-options callbacksLibravatar Jeff King1-0/+1
2018-08-13dir.c: remove an implicit dependency on the_index in pathspec codeLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2018-05-29help: add --config to list all available configLibravatar Nguyễn Thái Ngọc Duy1-0/+3
2018-05-29Add and use generic name->id mapping code for color slot parsingLibravatar Nguyễn Thái Ngọc Duy1-18/+10
2018-02-09completion: use __gitcomp_builtin in _git_cleanLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2018-02-09parse-options: let OPT__FORCE take optional flags argumentLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2017-10-18Merge branch 'jk/ref-filter-colors-fix'Libravatar Junio C Hamano1-1/+2
2017-10-17Revert "color: check color.ui in git_default_config()"Libravatar Jeff King1-1/+2
2017-09-07clean: release strbuf after use in remove_dirs()Libravatar Rene Scharfe1-2/+5
2017-08-11Merge branch 'jk/c99'Libravatar Junio C Hamano1-9/+10
2017-07-18clean.c: use designated initializerLibravatar Junio C Hamano1-9/+10
2017-07-13color: check color.ui in git_default_config()Libravatar Jeff King1-2/+1
2017-06-24Merge branch 'ab/free-and-null'Libravatar Junio C Hamano1-4/+2
2017-06-24Merge branch 'bw/config-h'Libravatar Junio C Hamano1-0/+1
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleLibravatar Ævar Arnfjörð Bjarmason1-4/+2
2017-06-15config: don't include config.h by defaultLibravatar Brandon Williams1-0/+1
2017-06-02Merge branch 'sl/clean-d-ignored-fix'Libravatar Junio C Hamano1-0/+42
2017-05-24clean: teach clean -d to preserve ignored pathsLibravatar Samuel Lijin1-0/+42
2017-05-06dir: convert fill_directory to take an indexLibravatar Brandon Williams1-1/+1
2017-05-06dir: convert is_excluded to take an indexLibravatar Brandon Williams1-1/+1
2017-02-27Merge branch 'nd/clean-preserve-errno-in-warning'Libravatar Junio C Hamano1-4/+12
2017-02-16clean: use warning_errno() when appropriateLibravatar Nguyễn Thái Ngọc Duy1-4/+12
2016-12-14i18n: clean.c: match string with git-add--interactive.perlLibravatar Vasco Almeida1-5/+5
2016-02-26Merge branch 'jk/tighten-alloc'Libravatar Junio C Hamano1-2/+2
2016-02-22use st_add and st_mult for allocation size computationLibravatar Jeff King1-1/+1
2016-02-22convert trivial cases to ALLOC_ARRAYLibravatar Jeff King1-1/+1
2016-02-03Merge branch 'jk/ref-cache-non-repository-optim'Libravatar Junio C Hamano1-25/+1
2016-01-25clean: make is_git_repository a public functionLibravatar Jeff King1-25/+1
2016-01-15strbuf: introduce strbuf_getline_{lf,nul}()Libravatar Junio C Hamano1-3/+3
2015-10-05use strbuf_complete to conditionally append slashLibravatar Jeff King1-4/+2