119 Commits (271cb303a507c8e37fa894c36569c18c6d134510)

Author SHA1 Message Date
Junio C Hamano 88910c9939 quote_path: give flags parameter to quote_path() 5 years ago
Junio C Hamano c34d24b8a4 quote_path: rename quote_path_relative() to quote_path() 5 years ago
Elijah Newren eceba53214 dir: fix problematic API to avoid memory leaks 5 years ago
Elijah Newren dad4f23ce5 dir: make clear_directory() free all relevant memory 5 years ago
Elijah Newren 7233f17577 clean: optimize and document cases where we recurse into subdirectories 5 years ago
Elijah Newren f7f5c6c0ba clean: consolidate handling of ignored parameters 5 years ago
Elijah Newren 351ea1c3cb dir, clean: avoid disallowed behavior 5 years ago
Denton Liu 203c85339f Use OPT_CALLBACK and OPT_CALLBACK_F 5 years ago
Johannes Schindelin 08d383f23e interactive: refactor code asking the user for interactive input 5 years ago
Elijah Newren 95c11ecc73 Fix error-prone fill_directory() API; make it only return matches 5 years ago
Elijah Newren 902b90cf42 clean: fix theoretical path corruption 6 years ago
Elijah Newren ca8b5390db clean: rewrap overly long line 6 years ago
Elijah Newren 09487f2cba clean: avoid removing untracked files in a nested git repository 6 years ago
Elijah Newren e86bbcf987 clean: disambiguate the definition of -d 6 years ago
Derrick Stolee 65edd96aec treewide: rename 'exclude' methods to 'pattern' 6 years ago
Derrick Stolee caa3d55444 treewide: rename 'struct exclude_list' to 'struct pattern_list' 6 years ago
Johannes Schindelin b09364c47a clean: show an error message when the path is too long 6 years ago
Nguyễn Thái Ngọc Duy f8adbec9fe cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch 6 years ago
Jeff King 517fe807d6 assert NOARG/NONEG behavior of parse-options callbacks 6 years ago
Nguyễn Thái Ngọc Duy 6d2df284e7 dir.c: remove an implicit dependency on the_index in pathspec code 7 years ago
Nguyễn Thái Ngọc Duy 3ac68a93fd help: add --config to list all available config 7 years ago
Nguyễn Thái Ngọc Duy a73b3680c4 Add and use generic name->id mapping code for color slot parsing 7 years ago
Nguyễn Thái Ngọc Duy 26e90958e9 completion: use __gitcomp_builtin in _git_clean 7 years ago
Nguyễn Thái Ngọc Duy 1224781d60 parse-options: let OPT__FORCE take optional flags argument 7 years ago
Jeff King 33c643bb08 Revert "color: check color.ui in git_default_config()" 7 years ago
Rene Scharfe 25a8f80a84 clean: release strbuf after use in remove_dirs() 8 years ago
Junio C Hamano 512f41cfac clean.c: use designated initializer 8 years ago
Jeff King 136c8c8b8f color: check color.ui in git_default_config() 8 years ago
Ævar Arnfjörð Bjarmason 6a83d90207 coccinelle: make use of the "type" FREE_AND_NULL() rule 8 years ago
Brandon Williams b2141fc1d2 config: don't include config.h by default 8 years ago
Samuel Lijin 6b1db43109 clean: teach clean -d to preserve ignored paths 8 years ago
Brandon Williams 0d32c183b6 dir: convert fill_directory to take an index 8 years ago
Brandon Williams a0bba65b10 dir: convert is_excluded to take an index 8 years ago
Nguyễn Thái Ngọc Duy cccf97d6ca clean: use warning_errno() when appropriate 8 years ago
Vasco Almeida 901707babc i18n: clean.c: match string with git-add--interactive.perl 8 years ago
Jeff King 50a6c8efa2 use st_add and st_mult for allocation size computation 9 years ago
Jeff King b32fa95fd8 convert trivial cases to ALLOC_ARRAY 9 years ago
Jeff King ffd036b128 clean: make is_git_repository a public function 9 years ago
Junio C Hamano 8f309aeb82 strbuf: introduce strbuf_getline_{lf,nul}() 9 years ago
Jeff King 00b6c178c3 use strbuf_complete to conditionally append slash 10 years ago
Erik Elfström 0179ca7a62 clean: improve performance when removing lots of directories 10 years ago
René Scharfe 5cd83e1885 clean: remove unused variable buf 10 years ago
David Turner 838d6a928f clean: only lstat files in pathspec 10 years ago
Jean-Noel Avila d913022763 Add hint interactive cleaning 10 years ago
Alexander Kuleshov bef111d0a5 clean: typofix 10 years ago
Jeff King f6c5a2968c color_parse: do not mention variable name in error message 11 years ago
René Scharfe e3f1da982e use skip_prefix() to avoid more magic numbers 11 years ago
René Scharfe 8687f7776d clean: use f(void) instead of f() to declare a pointer to a function without arguments 11 years ago
René Scharfe 51a60f5bfb use xcalloc() to allocate zero-initialized memory 11 years ago
Ronnie Sahlberg 782735203c enums: remove trailing ',' after last item in enum 11 years ago