summaryrefslogtreecommitdiffstats
path: root/builtin/mv.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt2024-12-061-0/+2
* builtin: remove USE_THE_REPOSITORY_VARIABLE from builtin.hJohn Cai2024-09-131-1/+2
* builtin: add a repository parameter for builtin functionsJohn Cai2024-09-131-1/+4
* mv: replace src_dir with a strvecJeff King2024-05-301-6/+4
* mv: factor out empty src_dir removalJeff King2024-05-301-19/+23
* mv: move src_dir cleanup to end of cmd_mv()Jeff King2024-05-301-1/+1
* builtin/mv: fix leaks for submodule gitfile pathsPatrick Steinhardt2024-05-271-19/+25
* builtin/mv: refactor to use `struct strvec`Patrick Steinhardt2024-05-271-65/+60
* builtin/mv duplicate string list memoryPatrick Steinhardt2024-05-271-6/+13
* builtin/mv: refactor `add_slash()` to always return allocated stringsPatrick Steinhardt2024-05-271-18/+20
* builtin: stop using `the_index`Patrick Steinhardt2024-04-181-34/+34
* treewide: remove unnecessary includes in source filesElijah Newren2023-12-261-1/+0
* Merge branch 'jc/mv-d-to-d-error-message-fix'Junio C Hamano2023-08-291-1/+1
|\
| * mv: fix error for moving directory to anotherJunio C Hamano2023-08-121-1/+1
* | Merge branch 'st/mv-lstat-fix'Junio C Hamano2023-08-151-2/+2
|\ \
| * | mv: handle lstat() failure correctlySebastian Thiel2023-08-091-2/+2
| |/
* | git-compat-util: move alloc macros to git-compat-util.hCalvin Wan2023-07-051-1/+0
* | read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren2023-06-211-0/+1
* | name-hash.h: move declarations for name-hash.c from cache.hElijah Newren2023-06-211-0/+1
|/
* hash-ll.h: split out of hash.h to remove dependency on repository.hElijah Newren2023-04-241-0/+1
* object-file.h: move declarations for object-file.c functions from cache.hElijah Newren2023-04-111-0/+1
* treewide: be explicit about dependence on advice.hElijah Newren2023-04-111-0/+1
* setup.h: move declarations for setup.c functions from cache.hElijah Newren2023-03-211-0/+1
* environment.h: move declarations for environment.c functions from cache.hElijah Newren2023-03-211-0/+1
* abspath.h: move absolute path functions from cache.hElijah Newren2023-03-211-0/+1
* treewide: be explicit about dependence on gettext.hElijah Newren2023-03-211-0/+1
* alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren2023-02-241-0/+1
* cocci & cache.h: apply pending "index_cache_pos" ruleÆvar Arnfjörð Bjarmason2023-02-101-3/+5
* cocci: apply "pending" index-compatibility to some "builtin/*.c"Ævar Arnfjörð Bjarmason2022-11-211-8/+8
* cocci & cache.h: apply variable section of "pending" index-compatibilityÆvar Arnfjörð Bjarmason2022-11-211-9/+10
* cocci & cache.h: apply a selection of "pending" index-compatibilityÆvar Arnfjörð Bjarmason2022-11-211-1/+3
* cocci & cache.h: remove rarely used "the_index" compat macrosÆvar Arnfjörð Bjarmason2022-11-211-2/+2
* Merge branch 'sy/mv-out-of-cone'Junio C Hamano2022-09-191-27/+134
|\
| * builtin/mv.c: fix possible segfault in add_slash()Shaoxuan Yuan2022-09-101-1/+1
| * mv: check overwrite for in-to-out moveShaoxuan Yuan2022-08-101-0/+12
| * advice.h: add advise_on_moving_dirty_path()Shaoxuan Yuan2022-08-101-0/+3
| * mv: cleanup empty WORKING_DIRECTORYShaoxuan Yuan2022-08-101-0/+27
| * mv: from in-cone to out-of-coneShaoxuan Yuan2022-08-101-9/+62
| * mv: remove BOTH from enum update_modeShaoxuan Yuan2022-08-101-1/+0
| * mv: check if <destination> is a SKIP_WORKTREE_DIRShaoxuan Yuan2022-08-101-4/+14
| * mv: free the with_slash in check_dir_in_index()Shaoxuan Yuan2022-08-101-4/+9
| * mv: rename check_dir_in_index() to empty_dir_has_sparse_contents()Shaoxuan Yuan2022-08-101-13/+11
* | Merge branch 'jc/builtin-mv-move-array'Junio C Hamano2022-07-181-9/+7
|\ \ | |/ |/|
| * builtin/mv.c: use the MOVE_ARRAY() macro instead of memmove()Junio C Hamano2022-07-101-9/+7
* | mv: add check_dir_in_index() and solve general dir check issueShaoxuan Yuan2022-07-011-6/+44
* | mv: use flags mode for update_modeShaoxuan Yuan2022-07-011-8/+17
* | mv: check if <destination> exists in index to handle overwritingShaoxuan Yuan2022-07-011-3/+12
* | mv: check if out-of-cone file exists in index with SKIP_WORKTREE bitShaoxuan Yuan2022-07-011-2/+19
* | mv: decouple if/else-if checks using gotoShaoxuan Yuan2022-07-011-59/+80
* | mv: update sparsity after moving from out-of-cone to in-coneShaoxuan Yuan2022-07-011-0/+17
|/