summaryrefslogtreecommitdiff
path: root/builtin/mv.c
AgeCommit message (Expand)AuthorFilesLines
2026-08-11Merge branch 'lo/mv-missing-dest-dir-check'Junio C Hamano1-3/+44
2026-07-30mv: reject a destination whose leading path is missing or a symlinkLucas Zamboni Orioli1-2/+43
2026-07-30mv: name both source and destination when rename failsLucas Zamboni Orioli1-1/+1
2026-07-19Merge branch 'ty/migrate-ignorecase'Junio C Hamano1-1/+1
2026-06-19config: use repo_ignore_case() to access core.ignorecaseTian Yuchen1-1/+1
2026-06-15Merge branch 'ob/more-repo-config-values'Junio C Hamano1-1/+1
2026-06-03environment: move "core_sparse_checkout_cone" into `struct repo_config_values`Olamide Caleb Bello1-1/+1
2026-05-19setup: stop using `the_repository` in `prefix_path()`Patrick Steinhardt1-2/+3
2026-02-26environment: stop using core.sparseCheckout globallyOlamide Caleb Bello1-1/+2
2025-07-23config: drop `git_config()` wrapperPatrick Steinhardt1-1/+1
2025-05-08Merge branch 'ps/mv-contradiction-fix'Junio C Hamano1-3/+61
2025-04-30builtin/mv: convert assert(3p) into `BUG()`Patrick Steinhardt1-1/+2
2025-04-30builtin/mv: bail out when trying to move child and its parentPatrick Steinhardt1-2/+59
2025-04-24Merge branch 'ps/object-file-cleanup'Junio C Hamano1-1/+2
2025-04-15object-file: move `safe_create_leading_directories()` into "path.c"Patrick Steinhardt1-1/+2
2025-04-14doc: convert git-mv to new documentation formatJean-Noël Avila1-1/+1
2025-04-14doc: move synopsis git-mv commands in the synopsis sectionJean-Noël Avila1-1/+2
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt1-0/+2
2024-09-13builtin: remove USE_THE_REPOSITORY_VARIABLE from builtin.hJohn Cai1-1/+2
2024-09-13builtin: add a repository parameter for builtin functionsJohn Cai1-1/+4
2024-05-30mv: replace src_dir with a strvecJeff King1-6/+4
2024-05-30mv: factor out empty src_dir removalJeff King1-19/+23
2024-05-30mv: move src_dir cleanup to end of cmd_mv()Jeff King1-1/+1
2024-05-27builtin/mv: fix leaks for submodule gitfile pathsPatrick Steinhardt1-19/+25
2024-05-27builtin/mv: refactor to use `struct strvec`Patrick Steinhardt1-65/+60
2024-05-27builtin/mv duplicate string list memoryPatrick Steinhardt1-6/+13
2024-05-27builtin/mv: refactor `add_slash()` to always return allocated stringsPatrick Steinhardt1-18/+20
2024-04-18builtin: stop using `the_index`Patrick Steinhardt1-34/+34
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-1/+0
2023-08-29Merge branch 'jc/mv-d-to-d-error-message-fix'Junio C Hamano1-1/+1
2023-08-15Merge branch 'st/mv-lstat-fix'Junio C Hamano1-2/+2
2023-08-11mv: fix error for moving directory to anotherJunio C Hamano1-1/+1
2023-08-09mv: handle lstat() failure correctlySebastian Thiel1-2/+2
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-21name-hash.h: move declarations for name-hash.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/+1
2023-04-11object-file.h: move declarations for object-file.c functions from cache.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on advice.hElijah Newren1-0/+1
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren1-0/+1
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-0/+1
2023-03-21abspath.h: move absolute path 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-10cocci & cache.h: apply pending "index_cache_pos" ruleÆvar Arnfjörð Bjarmason1-3/+5
2022-11-21cocci: apply "pending" index-compatibility to some "builtin/*.c"Ævar Arnfjörð Bjarmason1-8/+8
2022-11-21cocci & cache.h: apply variable section of "pending" index-compatibilityÆvar Arnfjörð Bjarmason1-9/+10
2022-11-21cocci & cache.h: apply a selection of "pending" index-compatibilityÆvar Arnfjörð Bjarmason1-1/+3
2022-11-21cocci & cache.h: remove rarely used "the_index" compat macrosÆvar Arnfjörð Bjarmason1-2/+2
2022-09-19Merge branch 'sy/mv-out-of-cone'Junio C Hamano1-27/+134