50 Commits (c24512527c11616097a49b7b47578bdc3ec0101f)

Author SHA1 Message Date
René Scharfe 590fc05293 rm: reuse strbuf for all remove_dir_recursively() calls, again 8 years ago
Stefan Beller 55856a35b2 rm: absorb a submodules git dir before deletion 8 years ago
Stefan Beller 83b7696605 submodule: rename and add flags to ok_to_remove_submodule 8 years ago
Junio C Hamano b3e83cc752 hold_locked_index(): align error handling with hold_lockfile_for_update() 8 years ago
brian m. carlson 8ec46d7e3e builtin/rm: convert to use struct object_id 9 years ago
brian m. carlson 99d1a9861a cache: convert struct cache_entry to use struct object_id 9 years ago
René Scharfe deb8e15a19 rm: reuse strbuf for all remove_dir_recursively() calls 9 years ago
Nguyễn Thái Ngọc Duy 7dcf3d97fa builtin/rm.c: use warning_errno() 9 years ago
Vasco Almeida 8ae51c4128 i18n: builtin/rm.c: remove a comma ',' from string 9 years ago
Nguyễn Thái Ngọc Duy 895ff3b2c7 add and use a convenience macro ce_intent_to_add() 10 years ago
René Scharfe dbe44faadb use file_exists() to check if a file exists in the worktree 10 years ago
Alex Henrie 9c9b4f2f8b standardize usage info string format 10 years ago
Michael Haggerty 697cc8efd9 lockfile.h: extract new header file for the functions in lockfile.c 11 years ago
Alex Henrie ad5fe3771b grammofix in user-facing messages 11 years ago
Nguyễn Thái Ngọc Duy 03b8664772 read-cache: new API write_locked_index instead of write_index/write_cache 11 years ago
Nguyễn Thái Ngọc Duy 429bb40abd pathspec: convert some match_pathspec_depth() to ce_path_match() 11 years ago
Karsten Blees 5699d17ee0 read-cache.c: fix memory leaks caused by removed cache entries 11 years ago
John Keeping f8bc2ac3bf rm: re-use parse_pathspec's trailing-slash removal 12 years ago
Stefan Beller f8aae0b517 rm: remove unneeded null pointer check 12 years ago
Jens Lehmann 95c16418f0 rm: delete .gitmodules entry of submodules removed from the work tree 12 years ago
Stefan Beller d5d09d4754 Replace deprecated OPT_BOOLEAN by OPT_BOOL 12 years ago
Junio C Hamano 658ff473cf builtin/rm.c: consolidate error reporting for removing submodules 12 years ago
Stefan Beller 4838c81fab rm: do not set a variable twice without intermediate reading. 12 years ago
Nguyễn Thái Ngọc Duy 9b2d61499b convert refresh_index to take struct pathspec 12 years ago
Nguyễn Thái Ngọc Duy 29211a93c1 rm: convert to use parse_pathspec 12 years ago
Nguyễn Thái Ngọc Duy 9c5e6c802c Convert "struct cache_entry *" to "const ..." wherever possible 12 years ago
Mathieu Lienard--Mayor 7e30944622 rm: introduce advice.rmHints to shorten messages 12 years ago
Mathieu Lienard--Mayor 914dc0289d rm: better error message on failure for multiple files 12 years ago
Jeff King 9a6728d4d1 rm: do not complain about d/f conflicts during deletion 12 years ago
Jens Lehmann 53e4c5dcab Teach rm to remove submodules when given with a trailing '/' 12 years ago
Jens Lehmann 293ab15eea submodule: teach rm to remove submodules unless they contain a git directory 13 years ago
Nguyễn Thái Ngọc Duy 72bba2a6bf i18n: rm: mark parseopt strings for translation 13 years ago
Ævar Arnfjörð Bjarmason b9b537f7dc i18n: git-rm basic messages 14 years ago
Thiago Farina 834d9eb6b7 builtin/rm.c: Use ALLOC_GROW instead of alloc_nr and xrealloc. 14 years ago
Jonathan Nieder 8c83968385 Describe various forms of "be quiet" using OPT__QUIET 14 years ago
René Scharfe 76946b76fe add OPT__FORCE 14 years ago
René Scharfe d52ee6e613 add description parameter to OPT__QUIET 14 years ago
René Scharfe e21adb8c10 add description parameter to OPT__DRY_RUN 14 years ago
Linus Torvalds 81b50f3ce4 Move 'builtin-*' into a 'builtin/' subdirectory 15 years ago
Nguyễn Thái Ngọc Duy 4e1a7baa2e rm: only refresh entries that we may touch 15 years ago
Thomas Rast d824cbba02 Convert existing die(..., strerror(errno)) to die_errno() 16 years ago
Stephen Boyd 3778292017 parse-opts: prepare for OPT_FILENAME 16 years ago
Miklos Vajna c36d785da0 builtin-rm: use warning() instead of fprintf(stderr, "warning: ") 16 years ago
Junio C Hamano 388b2acd6e git add --intent-to-add: fix removal of cached emptiness 16 years ago
Junio C Hamano 69530cb0c0 builtin-rm.c: explain and clarify the "local change" logic 16 years ago
Jeff King f55527f802 rm: loosen safety valve for empty files 17 years ago
Johannes Schindelin cced48a808 git rm: refresh index before up-to-date check 17 years ago
Alex Riesen 175a494823 Use remove_path from dir.c instead of own implementation 17 years ago
Heikki Orsila f18d244a63 Start conforming code to "git subcmd" style part 3 17 years ago
Junio C Hamano 7e44c93558 'git foo' program identifies itself without dash in die() messages 17 years ago