Merge branch 'nd/worktree-move' into jch
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Feb 2018 21:18:51 +0000 (13:18 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Feb 2018 21:18:52 +0000 (13:18 -0800)
commite17ac509720d400c031473d9aa2ad2fc20ff2800
tree635ced3bedda91f03aa55c8ec70e18780b93b752
parentc35c608a7185041d5c7350dd551a74284d385cc0
parentee6763af0a3b97225803c6c908a29de40336cf38
Merge branch 'nd/worktree-move' into jch

"git worktree" learned move and remove subcommands.

* nd/worktree-move:
  worktree remove: allow it when $GIT_WORK_TREE is already gone
  worktree remove: new command
  worktree move: refuse to move worktrees with submodules
  worktree move: accept destination as directory
  worktree move: new command
  worktree.c: add update_worktree_location()
  worktree.c: add validate_worktree()
Documentation/git-worktree.txt
builtin/worktree.c
contrib/completion/git-completion.bash