76 Commits (d6a6263f5f97d681849d5646cf1a78a20fb99bee)

Author SHA1 Message Date
Junio C Hamano b2b1f615ce rm: resolving by removal is not a warning-worthy event 6 years ago
Nguyễn Thái Ngọc Duy 50ddb089ff tree-walk.c: remove the_repo from get_tree_entry() 6 years ago
Jeff King cf7a901ae4 submodule: drop unused prefix parameter from some functions 6 years ago
Elijah Newren 5ec1e72823 Use 'unsigned short' for mode, like diff_filespec does 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 9001dc2a74 convert "oidcmp() != 0" to "!oideq()" 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 1a07e59c3e Update messages in preparation for i18n 7 years ago
Martin Ågren 0fa5a2ed8d lock_file: move static locks into functions 7 years ago
brian m. carlson 916bc35b29 tree-walk: convert tree entry functions to object_id 7 years ago
Martin Ågren 610008146e write_locked_index(): add flag to avoid writing unchanged index 7 years ago
Nguyễn Thái Ngọc Duy 44c9a6d269 completion: use __gitcomp_builtin in _git_rm 7 years ago
Nguyễn Thái Ngọc Duy 1224781d60 parse-options: let OPT__FORCE take optional flags argument 7 years ago
Brandon Williams 3b8317a9e6 submodule: convert stage_updated_gitmodules to take a struct index_state 7 years ago
Brandon Williams 557a5998df submodule: remove gitmodules_config 8 years ago
Brandon Williams 91b834807b submodule: check for unstaged .gitmodules outside of config parsing 8 years ago
Brandon Williams b2141fc1d2 config: don't include config.h by default 8 years ago
Junio C Hamano c7054209d6 treewide: use is_missing_file_error() where ENOENT and ENOTDIR are checked 8 years ago
Brandon Williams 2249d4dbc1 pathspec: remove PATHSPEC_STRIP_SUBMODULE_SLASH_CHEAP 8 years ago
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 8 years ago
brian m. carlson 99d1a9861a cache: convert struct cache_entry to use struct object_id 8 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 10 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 12 years ago