aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/rm.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-18builtin: stop using `the_index`Patrick Steinhardt1-20/+20
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-1/+0
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-1/+0
2023-06-21read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren1-0/+1
2023-06-21sparse-index.h: move declarations for sparse-index.c from cache.hElijah Newren1-0/+1
2023-04-24hash-ll.h: split out of hash.h to remove dependency on repository.hElijah Newren1-0/+2
2023-04-11object-name.h: move declarations for object-name.c functions from cache.hElijah Newren1-0/+1
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-1/+1
2023-03-28cocci: apply the "cache.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+1
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren1-0/+1
2023-02-10builtin/rm.c: use narrower "USE_THE_INDEX_VARIABLE"Ævar Arnfjörð Bjarmason1-1/+1
2022-12-26submodule.c & submodule--helper: pass along "super_prefix" paramÆvar Arnfjörð Bjarmason1-1/+1
2022-11-28Merge branch 'ab/fewer-the-index-macros'Junio C Hamano1-13/+13
2022-11-21cocci: apply "pending" index-compatibility to some "builtin/*.c"Ævar Arnfjörð Bjarmason1-4/+4
2022-11-21cocci & cache.h: apply variable section of "pending" index-compatibilityÆvar Arnfjörð Bjarmason1-7/+7
2022-11-21cocci & cache.h: apply a selection of "pending" index-compatibilityÆvar Arnfjörð Bjarmason1-2/+2
2022-11-08submodule API & "absorbgitdirs": remove "----recursive" optionÆvar Arnfjörð Bjarmason1-2/+1
2022-10-13doc txt & -h consistency: add missing optionsÆvar Arnfjörð Bjarmason1-1/+3
2022-08-08rm: integrate with sparse-indexShaoxuan Yuan1-0/+2
2022-08-08rm: expand the index only when necessaryShaoxuan Yuan1-2/+3
2022-01-10Merge branch 'ja/i18n-similar-messages'Junio C Hamano1-2/+2
2022-01-05i18n: turn even more messages into "cannot be used together" onesJean-Noël Avila1-1/+1
2022-01-05i18n: factorize "--foo requires --bar" and the likeJean-Noël Avila1-1/+1
2021-12-09dir: new flag to remove_dir_recurse() to spare the original_cwdElijah Newren1-1/+2
2021-10-13Merge branch 'ds/add-rm-with-sparse-index'Junio C Hamano1-2/+8
2021-09-28rm: skip sparse paths with missing SKIP_WORKTREEDerrick Stolee1-1/+3
2021-09-28rm: add --sparse optionDerrick Stolee1-2/+6
2021-08-25advice: remove read uses of most global `advice_` variablesBen Boeckel1-1/+1
2021-05-07Merge branch 'ah/plugleaks'Junio C Hamano1-0/+2
2021-05-07Merge branch 'mt/add-rm-in-sparse-checkout'Junio C Hamano1-11/+24
2021-04-28builtin/rm: avoid leaking pathspec and seenAndrzej Hunt1-0/+2
2021-04-14rm: ensure full indexDerrick Stolee1-0/+2
2021-04-08rm: honor sparse checkout patternsMatheus Tavares1-11/+24
2020-02-19rm: support the --pathspec-from-file optionAlexandr Miloslavskiy1-6/+22
2019-07-25Merge branch 'jc/denoise-rm-to-resolve'Junio C Hamano1-1/+1
2019-07-18rm: resolving by removal is not a warning-worthy eventJunio C Hamano1-1/+1
2019-06-27tree-walk.c: remove the_repo from get_tree_entry()Nguyễn Thái Ngọc Duy1-1/+1
2019-05-13submodule: drop unused prefix parameter from some functionsJeff King1-3/+3
2019-04-08Use 'unsigned short' for mode, like diff_filespec doesElijah Newren1-1/+1
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy1-0/+1
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King1-1/+1
2018-08-20Merge branch 'nd/no-the-index'Junio C Hamano1-1/+1
2018-08-13dir.c: remove an implicit dependency on the_index in pathspec codeNguyễn Thái Ngọc Duy1-1/+1
2018-07-23Update messages in preparation for i18nNguyễn Thái Ngọc Duy1-1/+1
2018-05-30Merge branch 'ma/lockfile-cleanup'Junio C Hamano1-2/+1
2018-05-10lock_file: move static locks into functionsMartin Ågren1-2/+1
2018-04-10Merge branch 'bc/object-id'Junio C Hamano1-1/+1
2018-03-21Merge branch 'ma/skip-writing-unchanged-index'Junio C Hamano1-4/+3
2018-03-14tree-walk: convert tree entry functions to object_idbrian m. carlson1-1/+1
2018-03-01write_locked_index(): add flag to avoid writing unchanged indexMartin Ågren1-4/+3
2018-02-09completion: use __gitcomp_builtin in _git_rmNguyễn Thái Ngọc Duy1-1/+1
2018-02-09parse-options: let OPT__FORCE take optional flags argumentNguyễn Thái Ngọc Duy1-1/+1
2017-12-12submodule: convert stage_updated_gitmodules to take a struct index_stateBrandon Williams1-1/+1
2017-08-03submodule: remove gitmodules_configBrandon Williams1-1/+0
2017-08-02submodule: check for unstaged .gitmodules outside of config parsingBrandon Williams1-1/+1
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-13Merge branch 'jc/noent-notdir'Junio C Hamano1-1/+1
2017-05-30treewide: use is_missing_file_error() where ENOENT and ENOTDIR are checkedJunio C Hamano1-1/+1
2017-05-12pathspec: remove PATHSPEC_STRIP_SUBMODULE_SLASH_CHEAPBrandon Williams1-2/+1
2017-02-13rm: reuse strbuf for all remove_dir_recursively() calls, againRené Scharfe1-3/+3
2017-01-18Merge branch 'sb/submodule-rm-absorb'Junio C Hamano1-62/+22
2016-12-27rm: absorb a submodules git dir before deletionStefan Beller1-61/+19
2016-12-27submodule: rename and add flags to ok_to_remove_submoduleStefan Beller1-1/+3
2016-12-07hold_locked_index(): align error handling with hold_lockfile_for_update()Junio C Hamano1-1/+1
2016-09-07builtin/rm: convert to use struct object_idbrian m. carlson1-9/+9
2016-09-07cache: convert struct cache_entry to use struct object_idbrian m. carlson1-1/+1
2016-07-25Merge branch 'rs/rm-strbuf-optim'Junio C Hamano1-2/+3
2016-07-12rm: reuse strbuf for all remove_dir_recursively() callsRené Scharfe1-2/+3
2016-05-17Merge branch 'nd/error-errno'Junio C Hamano1-1/+1
2016-05-09builtin/rm.c: use warning_errno()Nguyễn Thái Ngọc Duy1-1/+1
2016-04-12i18n: builtin/rm.c: remove a comma ',' from stringVasco Almeida1-1/+1
2016-02-22Merge branch 'nd/ita-cleanup' into maintJunio C Hamano1-1/+1
2016-01-20Merge branch 'nd/ita-cleanup'Junio C Hamano1-1/+1
2015-09-06add and use a convenience macro ce_intent_to_add()Nguyễn Thái Ngọc Duy1-1/+1
2015-05-20use file_exists() to check if a file exists in the worktreeRené Scharfe1-2/+1
2015-01-14standardize usage info string formatAlex Henrie1-1/+1
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty1-1/+1
2014-09-02grammofix in user-facing messagesAlex Henrie1-1/+1
2014-06-13read-cache: new API write_locked_index instead of write_index/write_cacheNguyễn Thái Ngọc Duy1-4/+3
2014-02-27Merge branch 'nd/submodule-pathspec-ending-with-slash'Junio C Hamano1-1/+1
2014-02-24pathspec: convert some match_pathspec_depth() to ce_path_match()Nguyễn Thái Ngọc Duy1-1/+1
2013-11-18read-cache.c: fix memory leaks caused by removed cache entriesKarsten Blees1-1/+1
2013-09-13rm: re-use parse_pathspec's trailing-slash removalJohn Keeping1-16/+4
2013-09-09Merge branch 'jl/submodule-mv'Junio C Hamano1-26/+42
2013-09-04Merge branch 'sb/parseopt-boolean-removal'Junio C Hamano1-3/+3
2013-08-09rm: remove unneeded null pointer checkStefan Beller1-21/+17
2013-08-06rm: delete .gitmodules entry of submodules removed from the work treeJens Lehmann1-3/+16
2013-08-05Replace deprecated OPT_BOOLEAN by OPT_BOOLStefan Beller1-3/+3
2013-08-01Merge branch 'jc/rm-submodule-error-message'Junio C Hamano1-21/+20
2013-07-25builtin/rm.c: consolidate error reporting for removing submodulesJunio C Hamano1-21/+20
2013-07-23rm: do not set a variable twice without intermediate reading.Stefan Beller1-1/+0
2013-07-15convert refresh_index to take struct pathspecNguyễn Thái Ngọc Duy1-1/+1
2013-07-15rm: convert to use parse_pathspecNguyễn Thái Ngọc Duy1-12/+12
2013-07-09Convert "struct cache_entry *" to "const ..." wherever possibleNguyễn Thái Ngọc Duy1-3/+3
2013-06-12rm: introduce advice.rmHints to shorten messagesMathieu Lienard--Mayor1-1/+2
2013-06-12rm: better error message on failure for multiple filesMathieu Lienard--Mayor1-19/+81
2013-04-04rm: do not complain about d/f conflicts during deletionJeff King1-1/+1
2012-11-29Merge branch 'jl/submodule-rm'Junio C Hamano1-0/+15
2012-11-23Teach rm to remove submodules when given with a trailing '/'Jens Lehmann1-0/+15
2012-10-29Merge branch 'jl/submodule-rm'Jeff King1-15/+110
2012-09-29submodule: teach rm to remove submodules unless they contain a git directoryJens Lehmann1-15/+110
2012-08-20i18n: rm: mark parseopt strings for translationNguyễn Thái Ngọc Duy1-7/+7
2011-03-09i18n: git-rm basic messagesÆvar Arnfjörð Bjarmason1-11/+11
2010-12-19builtin/rm.c: Use ALLOC_GROW instead of alloc_nr and xrealloc.Thiago Farina1-10/+2
2010-11-15Describe various forms of "be quiet" using OPT__QUIETJonathan Nieder1-1/+1
2010-11-15add OPT__FORCERené Scharfe1-1/+1
2010-11-15add description parameter to OPT__QUIETRené Scharfe1-1/+1
2010-11-15add description parameter to OPT__DRY_RUNRené Scharfe1-1/+1
2010-02-22Move 'builtin-*' into a 'builtin/' subdirectoryLinus Torvalds1-0/+272