aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/mv.c (follow)
AgeCommit message (Expand)AuthorFilesLines
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
2022-09-09builtin/mv.c: fix possible segfault in add_slash()Shaoxuan Yuan1-1/+1
2022-08-10mv: check overwrite for in-to-out moveShaoxuan Yuan1-0/+12
2022-08-10advice.h: add advise_on_moving_dirty_path()Shaoxuan Yuan1-0/+3
2022-08-10mv: cleanup empty WORKING_DIRECTORYShaoxuan Yuan1-0/+27
2022-08-10mv: from in-cone to out-of-coneShaoxuan Yuan1-9/+62
2022-08-10mv: remove BOTH from enum update_modeShaoxuan Yuan1-1/+0
2022-08-10mv: check if <destination> is a SKIP_WORKTREE_DIRShaoxuan Yuan1-4/+14
2022-08-10mv: free the with_slash in check_dir_in_index()Shaoxuan Yuan1-4/+9
2022-08-10mv: rename check_dir_in_index() to empty_dir_has_sparse_contents()Shaoxuan Yuan1-13/+11