summaryrefslogtreecommitdiffstats
path: root/builtin/mv.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
|/
* mv: refuse to move sparse pathsDerrick Stolee2021-09-281-9/+43
* builtin/mv: free or UNLEAK multiple pointers at end of cmd_mvAndrzej Hunt2021-07-261-0/+5
* git mv foo FOO ; git mv foo bar gave an assertTorsten Bögershausen2021-03-041-1/+1
* git-mv: improve error message for conflicted fileChris Torek2020-07-201-2/+5
* cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy2019-01-241-0/+1
* Merge branch 'ma/lockfile-cleanup'Junio C Hamano2018-05-301-1/+1
|\
| * lock_file: move static locks into functionsMartin Ågren2018-05-101-1/+1
* | Merge branch 'sb/submodule-move-nested'Junio C Hamano2018-05-081-2/+4
|\ \ | |/ |/|
| * submodule: fixup nested submodules after moving the submoduleStefan Beller2018-03-291-2/+4
* | Merge branch 'ma/skip-writing-unchanged-index'Junio C Hamano2018-03-211-2/+2
|\ \
| * | write_locked_index(): add flag to avoid writing unchanged indexMartin Ågren2018-03-011-2/+2
| |/
* | Merge branch 'nd/parseopt-completion'Junio C Hamano2018-03-141-1/+2
|\ \
| * | completion: use __gitcomp_builtin in _git_mvNguyễn Thái Ngọc Duy2018-02-091-1/+2
| * | parse-options: let OPT__FORCE take optional flags argumentNguyễn Thái Ngọc Duy2018-02-091-1/+1
| |/
* | Merge branch 'sm/mv-dry-run-update'Junio C Hamano2018-03-061-2/+1
|\ \ | |/ |/|
| * mv: remove unneeded 'if (!show_only)'Stefan Moch2018-02-071-2/+1
* | submodule: convert stage_updated_gitmodules to take a struct index_stateBrandon Williams2017-12-121-1/+1
* | submodule: remove gitmodules_configBrandon Williams2017-08-031-1/+0
* | submodule: check for unstaged .gitmodules outside of config parsingBrandon Williams2017-08-021-1/+1
|/
* config: don't include config.h by defaultBrandon Williams2017-06-151-0/+1
* Merge branch 'bw/pathspec-cleanup'Junio C Hamano2017-01-191-19/+31
|\
| * mv: remove use of deprecated 'get_pathspec()'Brandon Williams2017-01-091-19/+31
* | hold_locked_index(): align error handling with hold_lockfile_for_update()Junio C Hamano2016-12-071-1/+1
|/
* Merge branch 'rs/copy-array'Junio C Hamano2016-10-031-1/+1
|\
| * use COPY_ARRAYRené Scharfe2016-09-261-1/+1
* | git mv: do not keep slash in `git mv dir non-existing-dir/`Johannes Schindelin2016-08-081-4/+7
|/
* Merge branch 'sb/mv-submodule-fix'Junio C Hamano2016-04-291-9/+12
|\
| * mv: allow moving nested submodulesStefan Beller2016-04-191-9/+12
* | use st_add and st_mult for allocation size computationJeff King2016-02-221-2/+2
* | convert trivial cases to ALLOC_ARRAYJeff King2016-02-221-1/+2
|/
* standardize usage info string formatAlex Henrie2015-01-141-1/+1
* lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty2014-10-011-1/+1