93 Commits (1439a72e17ec76df6bffffe71a641689e8a5b01b)

Author SHA1 Message Date
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()" 8 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
Justin Lebar 235e8d5914 code and test: fix misuses of "nor" 11 years ago
Jeff King 1f2e108887 clean: simplify dir/not-dir logic 11 years ago
Jeff King cf424f5fd8 clean: respect pathspecs with "-d" 11 years ago
Nguyễn Thái Ngọc Duy 2e70c01799 clean: use cache_name_is_other() 11 years ago
Nguyễn Thái Ngọc Duy 05b85022c9 clean: replace match_pathspec() with dir_path_match() 11 years ago
Nguyễn Thái Ngọc Duy ae8d082421 pathspec: pass directory indicator to match_pathspec_item() 11 years ago
Nguyễn Thái Ngọc Duy 854b09592c pathspec: rename match_pathspec_depth() to match_pathspec() 11 years ago
Elia Pinto e666b89d76 builtin/clean.c: reduce scope of variable 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Stefan Beller d5d09d4754 Replace deprecated OPT_BOOLEAN by OPT_BOOL 12 years ago
Jiang Xin 6083861305 git-clean: implement partial matching for selection 12 years ago
Nguyễn Thái Ngọc Duy 7327d3d1b7 convert {read,fill}_directory to take struct pathspec 12 years ago
Nguyễn Thái Ngọc Duy 893d839970 clean: convert to use parse_pathspec 12 years ago
Nguyễn Thái Ngọc Duy 5fee4df7f4 clean: remove unused variable "seen" 12 years ago
Nguyễn Thái Ngọc Duy 9c5e6c802c Convert "struct cache_entry *" to "const ..." wherever possible 12 years ago
Jiang Xin 9f93e4611f git-clean: use a git-add-interactive compatible UI 12 years ago
Jiang Xin 7a9b0b802e git-clean: add colors to interactive git-clean 12 years ago
Jiang Xin 1b8fd46732 git-clean: show items of del_list in columns 12 years ago
Jiang Xin 96a799b6d1 git-clean: add ask each interactive action 12 years ago
Jiang Xin 1769600208 git-clean: add support for -i/--interactive 12 years ago
Jiang Xin c1f1d24aa5 git-clean: add select by numbers interactive action 12 years ago
Jiang Xin 396049e5fb git-clean: refactor git-clean into two phases 12 years ago